1
0
Fork 0

Alternative PowerDisplay: added list and margins

This commit is contained in:
kauron 2015-07-19 14:00:20 +02:00
parent 80080b14d3
commit d298f2e173

View file

@ -1,9 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/red">
android:layout_marginBottom="@dimen/activity_vertical_margin"
android:layout_marginTop="@dimen/activity_vertical_margin"
android:layout_marginLeft="@dimen/activity_horizontal_margin"
android:layout_marginRight="@dimen/activity_horizontal_margin">
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/layout_powers"
android:orientation="vertical">
<TextView
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:id="@+id/help_text"
android:text="@string/help_list"
android:gravity="center"/>
<GridView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/powerList"
android:layout_gravity="center_horizontal"
android:choiceMode="none" />
</LinearLayout>
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center"
android:visibility="gone"
android:gravity="center"
android:text="@string/no_powers"/>
</FrameLayout>