123 lines
7.2 KiB
XML
123 lines
7.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".SettingsFragment">
|
|
|
|
<!-- TODO: Update blank fragment layout -->
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent"
|
|
>
|
|
<android.support.v7.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="9dp">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:text="@string/info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:id="@+id/txtView_Info"
|
|
android:typeface="sans"
|
|
android:textSize="18sp" android:textStyle="bold" android:fontFamily="sans-serif"
|
|
android:layout_margin="7dp" android:textColor="@color/colorPrimary"/>
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:padding="7dp">
|
|
<TextView
|
|
android:text="@string/sampleuser"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:id="@+id/txtView_User"
|
|
android:textSize="16sp" android:textStyle="bold"
|
|
android:textColor="@android:color/primary_text_light"/>
|
|
<TextView
|
|
android:text="@string/user"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:id="@+id/txtView_UserDesc"/>
|
|
</LinearLayout>
|
|
<View
|
|
android:id="@+id/divider2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?android:attr/listDivider"
|
|
/>
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:layout_margin="7dp">
|
|
<TextView
|
|
android:text="@string/samplecourse"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:id="@+id/txtView_Course"
|
|
android:textSize="16sp" android:textColor="@android:color/primary_text_light"
|
|
android:textStyle="bold"/>
|
|
<TextView
|
|
android:text="@string/course_desc"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:id="@+id/txtView_CourseDesc"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</android.support.v7.widget.CardView>
|
|
<android.support.v7.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="9dp">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:id="@+id/linLayout_Settings">
|
|
<TextView
|
|
android:text="@string/settings"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:id="@+id/txtView_Settings"
|
|
android:typeface="sans"
|
|
android:textSize="18sp" android:textColor="@color/design_default_color_primary"
|
|
android:textStyle="bold" android:layout_margin="7dp" android:paddingTop="3dp"/>
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:layout_margin="7dp" android:gravity="end">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:text="Maincolor"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:id="@+id/textView9"
|
|
android:textSize="16sp" android:textStyle="bold"
|
|
android:textColor="@android:color/primary_text_light"/>
|
|
<TextView
|
|
android:text="The main color, default is indigo"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:id="@+id/textView8"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" android:layout_margin="7dp"
|
|
android:gravity="end">
|
|
<Button
|
|
android:text="Button"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp" android:id="@+id/button"
|
|
android:textColor="@android:color/black"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</android.support.v7.widget.CardView>
|
|
</LinearLayout>
|
|
</android.support.constraint.ConstraintLayout>
|
|
</FrameLayout> |