Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".MainActivity">
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/menu_baohanh"
- android:layout_width="240dp"
- android:layout_height="match_parent"
- android:background="@color/colorMenu"
- android:orientation="vertical"
- app:layout_constraintTop_toTopOf="parent">
- <ImageView
- android:id="@+id/logo_vinsmart"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="96.5dp"
- android:layout_marginTop="51dp"
- android:paddingTop="13.250dp"
- android:paddingBottom="15.750dp"
- android:focusable="false"
- android:gravity="center_vertical"
- android:src="@drawable/vsmart" />
- <TextView
- android:id="@+id/Infomation"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="@dimen/menu_text_margin"
- android:paddingTop="13.250dp"
- android:paddingBottom="15.750dp"
- android:gravity="center_vertical"
- android:background="@drawable/selector"
- android:text="@string/information"
- android:textSize="@dimen/dimen_text"
- android:textColor="@color/text_selector"
- android:focusedByDefault="true"
- android:focusable="true"
- android:focusableInTouchMode="true"
- android:nextFocusDown="@+id/warrantyhistory"
- android:nextFocusUp="@+id/contact"/>
- <TextView
- android:id="@+id/warrantyhistory"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="@dimen/menu_text_margin"
- android:paddingTop="13.250dp"
- android:paddingBottom="15.750dp"
- android:gravity="center_vertical"
- android:background="@drawable/selector"
- android:text="@string/warrantyhistory"
- android:textSize="@dimen/dimen_text"
- android:textColor="@color/text_selector"
- android:focusableInTouchMode="true"
- android:nextFocusDown="@+id/warrantyconditions"
- android:nextFocusUp="@+id/Infomation" />
- <TextView
- android:id="@+id/warrantyconditions"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="@dimen/menu_text_margin"
- android:paddingTop="13.250dp"
- android:paddingBottom="15.750dp"
- android:gravity="center_vertical"
- android:background="@drawable/selector"
- android:text="@string/warrantyconditions"
- android:textSize="@dimen/dimen_text"
- android:textColor="@color/text_selector"
- android:focusableInTouchMode="true"
- android:nextFocusDown="@+id/warrantypolicy" />
- <TextView
- android:id="@+id/warrantypolicy"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="@dimen/menu_text_margin"
- android:paddingTop="13.250dp"
- android:paddingBottom="15.750dp"
- android:gravity="center_vertical"
- android:background="@drawable/selector"
- android:text="@string/warrantypolicy"
- android:textSize="@dimen/dimen_text"
- android:textColor="@color/text_selector"
- android:focusableInTouchMode="true"
- android:nextFocusDown="@+id/sevicecenter" />
- <TextView
- android:id="@+id/sevicecenter"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="@dimen/menu_text_margin"
- android:paddingTop="13.250dp"
- android:paddingBottom="15.750dp"
- android:gravity="center_vertical"
- android:background="@drawable/selector"
- android:text="@string/sevicecenter"
- android:textSize="@dimen/dimen_text"
- android:textColor="@color/text_selector"
- android:focusableInTouchMode="true"
- android:nextFocusDown="@+id/support"
- />
- <TextView
- android:id="@+id/support"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="@dimen/menu_text_margin"
- android:paddingTop="13.250dp"
- android:paddingBottom="15.750dp"
- android:gravity="center_vertical"
- android:background="@drawable/selector"
- android:text="@string/support"
- android:textSize="@dimen/dimen_text"
- android:textColor="@color/text_selector"
- android:focusableInTouchMode="true"
- android:nextFocusDown="@+id/contact"
- />
- <TextView
- android:id="@+id/contact"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="@dimen/menu_text_margin"
- android:paddingTop="13.250dp"
- android:paddingBottom="15.750dp"
- android:gravity="center_vertical"
- android:background="@drawable/selector"
- android:text="@string/contact"
- android:textSize="@dimen/dimen_text"
- android:textColor="@color/text_selector"
- android:focusableInTouchMode="true"
- android:nextFocusDown="@+id/Infomation"
- />
- </LinearLayout>
- <RelativeLayout
- android:id="@+id/fragment_container"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- android:layout_marginStart="@dimen/menu_weight"
- app:layout_constraintTop_toBottomOf="parent"
- app:layout_constraintBottom_toBottomOf="parent">
- <ImageView
- android:id="@+id/image_frame"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="66dp"
- android:src="@drawable/tttb" />
- <TextView
- android:id="@+id/text_frame"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="162.500dp"
- android:text="Thông tin thiết bị"
- android:textStyle="bold"
- android:textSize="22.5dp"
- android:textColor="@color/colorText"
- />
- </RelativeLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement