activity_howto_front_end.xml 9.43 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
    android:background="@color/whitecolor"
    tools:context=".activities.lables.frontEnd.HowtoFrontEnd">


    <RelativeLayout
        android:id="@+id/rl_toollayout"
        android:layout_width="match_parent"
        android:layout_height="@dimen/fifty_fiveheight">

        <ImageView
            android:id="@+id/back_icon"
            android:layout_width="@dimen/forty_fivewidth"
            android:layout_height="match_parent"
            android:padding="@dimen/padding_ten"
            android:src="@drawable/icon_back"
            android:tint="@color/blackcolor" />


    </RelativeLayout>


    <com.google.android.flexbox.FlexboxLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
            xmlns:flexbox="http://schemas.android.com/apk/res-auto"
        android:id="@+id/horitxt"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/rl_toollayout"
        android:layout_marginStart="@dimen/layout_marginstart_ten"
        android:layout_marginTop="@dimen/layout_marginTop_five"
        android:layout_marginEnd="@dimen/layout_marginEnd_ten"
        android:scrollbarThumbHorizontal="@color/transparent"
        flexbox:flexDirection="row"
        flexbox:flexWrap="wrap"
        flexbox:alignItems="center"
        flexbox:justifyContent="flex_start">


            <TextView
                android:id="@+id/dashboard_txt"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:gravity="center"
                android:text="@string/dashboard_txt"
                android:textColor="@color/yellowcolor"
                android:textSize="@dimen/fifteenText_size" />

            <ImageView
                android:layout_width="@dimen/twelve_width"
                android:layout_height="@dimen/twelve_height"
                android:layout_gravity="center"
                android:layout_marginStart="@dimen/layout_marginstart_five"
                android:src="@drawable/icon_forward"
                android:tint="@color/textcolor" />

            <TextView
                android:id="@+id/master_label_txt"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginStart="@dimen/layout_marginstart_ten"
                android:gravity="center"
                android:text="@string/master_label_cate_txt"
                android:textColor="@color/yellowcolor"
                android:textSize="@dimen/fifteenText_size" />

            <ImageView
                android:layout_width="@dimen/twelve_width"
                android:layout_height="@dimen/twelve_height"
                android:layout_gravity="center"
                android:layout_marginStart="@dimen/layout_marginstart_five"
                android:src="@drawable/icon_forward"
                android:tint="@color/textcolor" />

            <TextView
                android:id="@+id/product_cat_txt"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginStart="@dimen/layout_marginstart_ten"
                android:gravity="center"
                android:text="@string/product_category_txt"
                android:textColor="@color/yellowcolor"
                android:textSize="@dimen/fifteenText_size" />

            <ImageView
                android:id="@+id/proCatImg"
                android:layout_width="@dimen/twelve_width"
                android:layout_height="@dimen/twelve_height"
                android:layout_gravity="center"
                android:layout_marginStart="@dimen/layout_marginstart_five"
                android:src="@drawable/icon_forward"
                android:tint="@color/textcolor" />

            <TextView
                android:id="@+id/product_txt"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginStart="@dimen/layout_marginstart_ten"
                android:gravity="center"
                android:text="@string/product_txt"
                android:textColor="@color/yellowcolor"
                android:textSize="@dimen/fifteenText_size" />

            <ImageView
                android:layout_width="@dimen/twelve_width"
                android:layout_height="@dimen/twelve_height"
                android:layout_gravity="center"
                android:layout_marginStart="@dimen/layout_marginstart_five"
                android:src="@drawable/icon_forward"
                android:tint="@color/textcolor" />

            <TextView
                android:id="@+id/lable_type_txt"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginStart="@dimen/layout_marginstart_ten"
                android:gravity="center"
                android:text="@string/label_type_txt"
                android:textColor="@color/yellowcolor"
                android:textSize="@dimen/fifteenText_size" />

            <ImageView
                android:id="@+id/label_img"
                android:layout_width="@dimen/twelve_width"
                android:layout_height="@dimen/twelve_height"
                android:layout_gravity="center"
                android:layout_marginStart="@dimen/layout_marginstart_five"
                android:src="@drawable/icon_forward"
                android:tint="@color/textcolor" />

            <TextView
                android:id="@+id/print_txt"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginStart="@dimen/layout_marginstart_ten"
                android:gravity="center"
                android:text="@string/how_to_txt"
                android:textColor="@color/textcolor"
                android:textSize="@dimen/fifteenText_size" />
        </com.google.android.flexbox.FlexboxLayout>

    <TextView
        android:id="@+id/how_to_defaultxt"
        android:layout_width="wrap_content"
        android:layout_height="@dimen/twentyfive_height"
        android:layout_below="@+id/horitxt"
        android:layout_marginStart="@dimen/layout_marginstart_ten"
        android:layout_marginTop="@dimen/layout_marginTop_five"
        android:text="@string/how_to_txt"
        android:textColor="@color/blacktxt"
        android:textSize="@dimen/sixteenText_size" />

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@+id/how_to_defaultxt"
        android:layout_marginTop="@dimen/layout_marginTop_five"
        android:padding="@dimen/padding_ten">


        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:scrollbars="vertical">


            <LinearLayout
                android:id="@+id/ll_layout"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">

                <RelativeLayout
                    android:id="@+id/rl_layout"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:visibility="gone">

                    <fragment
                        android:id="@+id/youtubepay"
                        android:name="com.google.android.youtube.player.YouTubePlayerFragment"
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/twoHundred_fifty_height" />


                    <TextView
                        android:id="@+id/video_description_txt"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_below="@+id/youtubepay"
                        android:layout_marginTop="@dimen/layout_marginTop_ten"
                        android:textSize="@dimen/fifteenText_size" />

                </RelativeLayout>

                <RelativeLayout
                    android:id="@+id/ll_image_layout"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical"
                    android:visibility="visible">

                    <ImageView
                        android:id="@+id/how_img"
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/twoHundred_fifty_width"
                        android:src="@mipmap/bg" />

                    <TextView
                        android:id="@+id/description_txt"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_below="@+id/how_img"
                        android:layout_marginTop="@dimen/layout_marginTop_ten"
                        android:textSize="@dimen/fifteenText_size" />

                </RelativeLayout>

            </LinearLayout>

        </ScrollView>
    </RelativeLayout>
</RelativeLayout>