Skip to content

Instantly share code, notes, and snippets.

@Binary-Finery
Created November 23, 2017 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Binary-Finery/4eb7441b26fe2e0c4d7e1ed2807d55fa to your computer and use it in GitHub Desktop.
Save Binary-Finery/4eb7441b26fe2e0c4d7e1ed2807d55fa to your computer and use it in GitHub Desktop.
attention of md osman
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF"
android:orientation="vertical"
android:weightSum="1">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
android:layout_height="140sp"
android:layout_weight="0.2"
android:fillViewport="true">
<EditText
android:id="@+id/E1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10sp"
android:layout_marginStart="10sp"
android:background="#FFFFFF"
android:ems="10"
android:fontFamily="sans-serif-thin"
android:hint="@string/enter_text_here"
android:inputType="textMultiLine"
android:textColor="#000000"
android:textColorHint="#000000" />
</ScrollView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.1"
android:gravity="end">
<Button
android:id="@+id/clrbtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10sp"
android:layout_marginRight="10sp"
android:background="#BDBDBD"
android:fontFamily="casual"
android:padding="8dp"
android:text="@string/clear_text"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#3F51B5"
android:textSize="20sp" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="5dp"
android:background="#929292" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10sp"
android:layout_marginStart="10sp"
android:layout_marginTop="5sp"
android:background="#FFFFFF"
android:fontFamily="sans-serif-thin"
android:text="@string/text_repitition"
android:textColor="#000000"
android:textSize="20sp" />
<EditText
android:id="@+id/edittext2"
android:layout_width="70sp"
android:layout_height="50sp"
android:layout_marginLeft="10sp"
android:layout_marginStart="10sp"
android:layout_marginTop="5sp"
android:ems="5"
android:fontFamily="sans-serif-thin"
android:inputType="number"
android:text="@string/_10"
android:textColor="#000000"
android:textSize="18sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5sp"
android:fontFamily="sans-serif-thin"
android:text="@string/max_3000"
android:textColor="#B71C1C"
android:textSize="18sp" />
</LinearLayout>
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp">
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textView7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10sp"
android:layout_marginStart="10sp"
android:layout_marginTop="5sp"
android:background="#FFFFFF"
android:fontFamily="sans-serif-thin"
android:text="@string/every_field_in_new_line"
android:textColor="#000000"
android:textSize="20sp" />
<android.support.v7.widget.AppCompatCheckBox
android:id="@+id/checkBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:background="#FFFFFF"
app:buttonTint="#3F51B5" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp">
<TextView
android:id="@+id/textView8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10sp"
android:layout_marginStart="10sp"
android:layout_marginTop="5sp"
android:background="#FFFFFF"
android:fontFamily="sans-serif-thin"
android:text="@string/uppercase_letters"
android:textColor="#000000"
android:textSize="20sp" />
<android.support.v7.widget.AppCompatCheckBox
android:id="@+id/checkBox2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:background="#FFFFFF"
app:buttonTint="#BF360C" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp">
<TextView
android:id="@+id/textView9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10sp"
android:layout_marginStart="10sp"
android:layout_marginTop="5sp"
android:background="#FFFFFF"
android:fontFamily="sans-serif-thin"
android:text="@string/lowecase_letters"
android:textColor="#000000"
android:textSize="20sp" />
<android.support.v7.widget.AppCompatCheckBox
android:id="@+id/checkBox3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#FFFFFF"
android:layout_marginStart="10dp"
app:buttonTint="#009688" />
</TableRow>
</TableLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.2"
android:gravity="center_horizontal">
<Button
android:id="@+id/button3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5sp"
android:background="@android:color/transparent"
android:fontFamily="sans-serif-thin"
android:padding="5dp"
android:text="@string/repeat_text"
android:textColor="#1A237E"
android:textSize="25sp" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment