92 lines
3.2 KiB
XML
92 lines
3.2 KiB
XML
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
||
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
||
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
||
|
|
tools:context=".CategoryActivity" >
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="fill_parent"
|
||
|
|
android:layout_height="fill_parent"
|
||
|
|
android:layout_alignParentBottom="true"
|
||
|
|
android:layout_alignParentLeft="true"
|
||
|
|
android:layout_alignParentRight="true"
|
||
|
|
android:layout_alignParentTop="true"
|
||
|
|
android:orientation="vertical" >
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/pickColor"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/color" />
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/pickSelectedColor"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:text="@string/selectedColor" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/searchBox"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/alpha"
|
||
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/alpha"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:ems="10"
|
||
|
|
android:hint="@string/alpha"
|
||
|
|
android:inputType="number"
|
||
|
|
android:text="255" >
|
||
|
|
|
||
|
|
<requestFocus />
|
||
|
|
</EditText>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/textView2"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/thickness"
|
||
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/thickness"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:ems="10"
|
||
|
|
android:hint="@string/thickness"
|
||
|
|
android:inputType="number"
|
||
|
|
android:text="4" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="bottom" >
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/okayButton"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:text="@string/okay" />
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/cancelButton"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:text="@string/cancel" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</RelativeLayout>
|