diff options
Diffstat (limited to 'GNexusParts/res/layout/preference_dialog_vibrator_tuning.xml')
-rw-r--r-- | GNexusParts/res/layout/preference_dialog_vibrator_tuning.xml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/GNexusParts/res/layout/preference_dialog_vibrator_tuning.xml b/GNexusParts/res/layout/preference_dialog_vibrator_tuning.xml new file mode 100644 index 0000000..9ffc414 --- /dev/null +++ b/GNexusParts/res/layout/preference_dialog_vibrator_tuning.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center_horizontal" + android:paddingBottom="20dip"> + + <TextView android:id="@+id/vibrator_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/vibrator_title" + android:paddingTop="10dip" + android:paddingLeft="20dip" + android:paddingRight="20dip" /> + <TextView android:id="@+id/vibrator_value" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:paddingTop="10dip" + android:paddingLeft="20dip" + android:paddingRight="20dip" /> + <SeekBar android:id="@+id/vibrator_seekbar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/vibrator_text" + android:paddingTop="2dip" + android:paddingLeft="20dip" + android:paddingRight="20dip" /> + + <LinearLayout + android:id="@+id/linearLayout1" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:layout_below="@+id/vibrator_seekbar" > + + <Button + android:id="@+id/btnvibratorDefault" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/vibrator_default_title" + android:textSize="12dp" + android:width="100dp" /> + + <Button + android:id="@+id/btnvibratorTest" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/vibrator_test_title" + android:textSize="12dp" + android:width="100dp" /> + + </LinearLayout> + + </RelativeLayout> +</ScrollView> |