diff options
Diffstat (limited to 'tests/res/layout/fill_call_log_test.xml')
-rw-r--r-- | tests/res/layout/fill_call_log_test.xml | 132 |
1 files changed, 131 insertions, 1 deletions
diff --git a/tests/res/layout/fill_call_log_test.xml b/tests/res/layout/fill_call_log_test.xml index 704b9c66e..6de9b9119 100644 --- a/tests/res/layout/fill_call_log_test.xml +++ b/tests/res/layout/fill_call_log_test.xml @@ -20,7 +20,7 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" - android:gravity="center_horizontal" + android:gravity="left" > <TextView android:layout_width="match_parent" @@ -53,4 +53,134 @@ android:indeterminate="false" android:visibility="gone" /> + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/add_custom_entry" + /> + <RadioGroup + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <RadioButton + android:id="@+id/call_type_incoming" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/call_type_incoming" /> + <RadioButton + android:id="@+id/call_type_missed" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/call_type_missed" /> + <RadioButton + android:id="@+id/call_type_outgoing" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/call_type_outgoing" /> + </RadioGroup> + <LinearLayout + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="left" + > + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/call_date" + /> + <TextView + android:id="@+id/call_date" + android:paddingStart="16dp" + android:layout_width="120dp" + android:layout_height="wrap_content" + /> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/edit" + android:onClick="showDatePickerDialog" /> + </LinearLayout> + <LinearLayout + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="left" + > + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/call_time" + /> + <TextView + android:id="@+id/call_time" + android:paddingStart="16dp" + android:layout_width="120dp" + android:layout_height="wrap_content" + /> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/edit" + android:onClick="showTimePickerDialog" /> + </LinearLayout> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/call_presentation" + /> + <RadioGroup + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <RadioButton + android:id="@+id/presentation_allowed" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/presentation_allowed" + android:textSize="9sp" /> + <RadioButton + android:id="@+id/presentation_restricted" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/presentation_restricted" + android:textSize="9sp" /> + <RadioButton + android:id="@+id/presentation_unknown" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/presentation_unknown" + android:textSize="9sp" /> + <RadioButton + android:id="@+id/presentation_payphone" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/presentation_payphone" + android:textSize="9sp" /> + </RadioGroup> + <LinearLayout + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="left" + > + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/number" + /> + <EditText + android:id="@+id/phone_number" + android:layout_width="180dp" + android:layout_height="wrap_content" + android:inputType="phone" + /> + </LinearLayout> + <Button + android:id="@+id/add_custom" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/addToCallLogButton" + android:onClick="addManualEntry" + /> </LinearLayout> |