Commit c969975a authored by Румен Петров's avatar Румен Петров
Browse files

split main layout on more card views

parent 1804af43
......@@ -15,91 +15,120 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/activity_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<android.support.v7.widget.CardView
android:id="@+id/terminal"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardElevation="8dp"
app:cardUseCompatPadding="true">
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="@dimen/text_margin2">
<LinearLayout
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="@dimen/text_margin2">
android:layout_height="wrap_content"
app:cardElevation="4dp"
app:cardUseCompatPadding="true">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/text_margin2"
android:text="@string/app_info"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/text_margin4"
android:text="@string/app_info2"/>
<android.support.v7.widget.AppCompatButton
android:id="@+id/install_terminal"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/text_margin"
android:layout_marginLeft="@dimen/text_margin"
android:layout_marginRight="@dimen/text_margin"
android:layout_marginStart="@dimen/text_margin"
android:text="@string/install_termoneplus"
app:textAllCaps="false"/>
</android.support.v7.widget.CardView>
<TextView
android:id="@+id/export_path"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/text_margin2"
android:text="@string/export_path"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/text_margin2"
android:text="@string/prepend_to_path_info"/>
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardElevation="4dp"
app:cardUseCompatPadding="true">
<TextView
android:id="@+id/prepend_to_path_remark"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/text_margin2"/>
android:layout_height="match_parent"
android:layout_margin="@dimen/text_margin2"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/app_info2"/>
<android.support.v7.widget.AppCompatButton
android:id="@+id/install_terminal"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/text_margin"
android:layout_marginLeft="@dimen/text_margin"
android:layout_marginEnd="@dimen/text_margin"
android:layout_marginRight="@dimen/text_margin"
android:text="@string/install_termoneplus"
app:textAllCaps="false"/>
</LinearLayout>
</android.support.v7.widget.CardView>
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardElevation="4dp"
app:cardUseCompatPadding="true">
<android.support.v7.widget.AppCompatButton
android:id="@+id/prepend_to_path_request"
style="@style/Widget.AppCompat.Button.Colored"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/text_margin"
android:layout_marginLeft="@dimen/text_margin"
android:layout_marginRight="@dimen/text_margin"
android:layout_marginStart="@dimen/text_margin"
android:text="@string/prepend_to_path_request"
app:textAllCaps="false"/>
<android.support.v7.widget.AppCompatButton
android:id="@+id/open_terminal"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/text_margin"
android:layout_marginLeft="@dimen/text_margin"
android:layout_marginRight="@dimen/text_margin"
android:layout_marginStart="@dimen/text_margin"
android:text="@string/open_terminal"
app:textAllCaps="false"/>
</LinearLayout>
</android.support.v7.widget.CardView>
android:layout_height="match_parent"
android:layout_margin="@dimen/text_margin2"
android:orientation="vertical">
<TextView
android:id="@+id/export_path"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/export_path"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/text_margin2"
android:text="@string/prepend_to_path_info"/>
<TextView
android:id="@+id/prepend_to_path_remark"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/text_margin2"/>
<android.support.v7.widget.AppCompatButton
android:id="@+id/prepend_to_path_request"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/text_margin"
android:layout_marginLeft="@dimen/text_margin"
android:layout_marginEnd="@dimen/text_margin"
android:layout_marginRight="@dimen/text_margin"
android:text="@string/prepend_to_path_request"
app:textAllCaps="false"/>
</LinearLayout>
</android.support.v7.widget.CardView>
<android.support.v7.widget.AppCompatButton
android:id="@+id/open_terminal"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/text_margin"
android:layout_marginLeft="@dimen/text_margin"
android:layout_marginEnd="@dimen/text_margin"
android:layout_marginRight="@dimen/text_margin"
android:text="@string/open_terminal"
app:textAllCaps="false"/>
</LinearLayout>
</android.support.v4.widget.NestedScrollView>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment