Initial commit
This commit is contained in:
134
app/src/main/res/layout/activity_settings.xml
Normal file
134
app/src/main/res/layout/activity_settings.xml
Normal file
@@ -0,0 +1,134 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/ha_white"
|
||||
android:padding="16dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/btn_settings"
|
||||
android:textStyle="bold"
|
||||
android:typeface="monospace"
|
||||
android:textSize="18sp"
|
||||
android:textColor="@color/ha_black"
|
||||
android:layout_marginBottom="16dp" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2dp"
|
||||
android:background="@color/ha_black"
|
||||
android:layout_marginBottom="16dp" />
|
||||
|
||||
<!-- ENTITY SELECTION BUTTON -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@color/ha_black"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginTop="4dp" />
|
||||
<Button
|
||||
android:id="@+id/btnEntitySelection"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:text="@string/btn_entity_selection"
|
||||
android:background="@color/ha_yellow"
|
||||
android:textColor="@color/ha_black"
|
||||
android:typeface="monospace"
|
||||
android:textStyle="bold" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- CONNECTION BUTTON -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp">
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@color/ha_black"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginTop="4dp" />
|
||||
<Button
|
||||
android:id="@+id/btnGoToConnection"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:text="@string/title_connection"
|
||||
android:background="@color/ha_blue"
|
||||
android:textColor="@color/ha_white"
|
||||
android:typeface="monospace"
|
||||
android:textStyle="bold" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- INSTRUCTIONS BUTTON -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp">
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@color/ha_black"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginTop="4dp" />
|
||||
<Button
|
||||
android:id="@+id/btnInstructions"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:text="@string/btn_instructions"
|
||||
android:background="@color/ha_gray_light"
|
||||
android:textColor="@color/ha_black"
|
||||
android:typeface="monospace"
|
||||
android:textStyle="bold" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- CHANGE LANGUAGE BUTTON -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp">
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@color/ha_black"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginTop="4dp" />
|
||||
<Button
|
||||
android:id="@+id/btnChangeLang"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:text="@string/btn_change_lang"
|
||||
android:background="@color/ha_orange"
|
||||
android:textColor="@color/ha_black"
|
||||
android:typeface="monospace"
|
||||
android:textStyle="bold" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- DELETE ALL BUTTON -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp">
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@color/ha_black"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginTop="4dp" />
|
||||
<Button
|
||||
android:id="@+id/btnDeleteAll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:text="@string/btn_delete_all"
|
||||
android:background="@color/ha_red"
|
||||
android:textColor="@color/ha_white"
|
||||
android:typeface="monospace"
|
||||
android:textStyle="bold" />
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user