add a toggle for starting names with surname

This commit is contained in:
tibbi
2017-12-13 17:35:03 +01:00
parent 74c5b19025
commit 42cc8aaa2f
7 changed files with 63 additions and 13 deletions

View File

@ -89,5 +89,25 @@
android:text="@string/call_contact_on_click"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_start_with_surname_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin">
<com.simplemobiletools.commons.views.MySwitchCompat
android:id="@+id/settings_start_with_surname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/start_name_with_surname"/>
</RelativeLayout>
</LinearLayout>
</ScrollView>