Advertisement
euis_kusesa

activity_main_detail.xml

Dec 24th, 2018
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 21.45 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    xmlns:app="http://schemas.android.com/apk/res-auto"
  7.    android:orientation="vertical">
  8.  
  9.     <ScrollView
  10.        xmlns:android="http://schemas.android.com/apk/res/android"
  11.        android:layout_width="fill_parent"
  12.        android:layout_height="fill_parent">
  13.  
  14.         <LinearLayout
  15.            android:layout_width="fill_parent"
  16.            android:layout_height="fill_parent"
  17.            android:orientation="vertical">
  18.  
  19.  
  20.             <!-- BEGIN: ATAS -->
  21.             <LinearLayout
  22.                android:id="@+id/sectionAtas"
  23.                android:layout_width="fill_parent"
  24.                android:layout_height="wrap_content"
  25.                android:layout_marginBottom="75dp"
  26.                android:layout_marginLeft="5dp"
  27.                android:layout_marginRight="5dp"
  28.                android:layout_marginTop="10dp"
  29.                android:orientation="vertical"
  30.                android:background="@color/transparant">
  31.  
  32.                 <!-- BEGIN: PHOTO MEMBER  -->
  33.                 <LinearLayout
  34.  
  35.                    android:layout_width="match_parent"
  36.                    android:layout_height="wrap_content"
  37.                    android:layout_alignParentLeft="true"
  38.                    android:layout_alignParentStart="true"
  39.                    android:layout_below="@+id/appBarLayout"
  40.                    android:background="@drawable/button_frame"
  41.                    android:orientation="horizontal"
  42.                    android:paddingBottom="0.1dp"
  43.                    android:paddingTop="0.1dp"
  44.                    android:weightSum="100">
  45.  
  46.                     <LinearLayout
  47.                        android:layout_width="0dp"
  48.                        android:layout_height="wrap_content"
  49.                        android:layout_weight="100"
  50.                        android:orientation="vertical">
  51.  
  52.                         <ImageView
  53.                            android:id="@+id/amd_iv_ceritarakyat"
  54.                            android:layout_width="match_parent"
  55.                            android:layout_height="200dp"
  56.                            android:layout_marginLeft="0dp"
  57.                            android:layout_marginRight="0dp"
  58.                            android:layout_marginTop="0dp"
  59.                            android:padding="2dp"
  60.                            android:cropToPadding="false"
  61.                            android:scaleType="fitCenter"
  62.                            android:background="@drawable/button_frame" />
  63.  
  64.                     </LinearLayout>
  65.  
  66.                 </LinearLayout>
  67.                 <!-- END: PHOTO MEMBER  -->
  68.  
  69.                 <View
  70.                    android:layout_width="match_parent"
  71.                    android:layout_height="0.0dp"
  72.                    android:layout_marginLeft="0dp"
  73.                    android:layout_marginTop="5dp"
  74.                    android:background="@color/aluminum" />
  75.  
  76.                 <!-- BEGIN: JUDUL  -->
  77.                 <LinearLayout
  78.  
  79.                    android:layout_width="match_parent"
  80.                    android:layout_height="wrap_content"
  81.                    android:layout_alignParentLeft="true"
  82.                    android:layout_alignParentStart="true"
  83.                    android:layout_below="@+id/appBarLayout"
  84.                    android:background="@color/transparant"
  85.                    android:orientation="horizontal"
  86.                    android:paddingBottom="0.1dp"
  87.                    android:paddingTop="0.1dp"
  88.                    android:weightSum="100">
  89.  
  90.                     <LinearLayout
  91.                        android:layout_width="0dp"
  92.                        android:layout_height="wrap_content"
  93.                        android:layout_weight="100"
  94.                        android:orientation="vertical">
  95.  
  96.                         <TextView
  97.                            android:id="@+id/amd_tv_provinsi"
  98.                            android:layout_width="match_parent"
  99.                            android:layout_height="wrap_content"
  100.                            android:layout_marginLeft="10dp"
  101.                            android:layout_marginTop="-3dp"
  102.                            android:fontFamily="sans-serif-thin"
  103.                            android:gravity="center"
  104.                            android:text="Mat 2:1-5"
  105.                            android:textStyle="italic"
  106.                            android:textColor="@color/black"
  107.                            android:textSize="18dp" />
  108.  
  109.                         <TextView
  110.                            android:id="@+id/amd_tv_title"
  111.                            android:layout_width="match_parent"
  112.                            android:layout_height="wrap_content"
  113.                            android:layout_marginLeft="10dp"
  114.                            android:layout_marginTop="5dp"
  115.                            android:fontFamily="sans-serif"
  116.                            android:gravity="center"
  117.                            android:text="Judulnya di sini"
  118.                            android:textColor="@color/black"
  119.                            android:textSize="19dp"
  120.                            android:textStyle="normal"/>
  121.  
  122.  
  123.  
  124.  
  125.                     </LinearLayout>
  126.  
  127.                 </LinearLayout>
  128.                 <!-- END: JUDUL  -->
  129.  
  130.                 <View
  131.                    android:layout_width="match_parent"
  132.                    android:layout_height="0.0dp"
  133.                    android:layout_marginLeft="0dp"
  134.                    android:layout_marginTop="5dp"
  135.                    android:background="@color/aluminum" />
  136.  
  137.                 <!-- BEGIN: VERSE CONTENT-->
  138.                 <!--
  139.                <LinearLayout
  140.  
  141.                    android:layout_width="match_parent"
  142.                    android:layout_height="wrap_content"
  143.                    android:layout_alignParentLeft="true"
  144.                    android:layout_alignParentStart="true"
  145.                    android:layout_below="@+id/appBarLayout"
  146.                    android:background="@color/transparant"
  147.                    android:orientation="horizontal"
  148.                    android:paddingBottom="0.1dp"
  149.                    android:paddingTop="0.1dp"
  150.                    android:weightSum="100">
  151.  
  152.                    <LinearLayout
  153.                        android:layout_width="0dp"
  154.                        android:layout_height="wrap_content"
  155.                        android:layout_weight="100"
  156.                        android:orientation="vertical"
  157.                        android:background="@color/transparant">
  158.  
  159.  
  160.                        <TextView
  161.                            android:id="@+id/amd_tv_content"
  162.                            android:layout_width="match_parent"
  163.                            android:layout_height="wrap_content"
  164.                            android:layout_marginLeft="20dp"
  165.                            android:layout_marginRight="20dp"
  166.                            android:layout_marginTop="5dp"
  167.                            android:fontFamily="sans-serif-thin"
  168.                            android:gravity="fill_vertical|fill"
  169.                            android:text="Isi ayatnya ada di sini, dibuat italic"
  170.                            android:textStyle="italic"
  171.                            android:textColor="@color/black"
  172.                            android:textSize="19dp" />
  173.  
  174.  
  175.                    </LinearLayout>
  176.  
  177.                </LinearLayout>
  178.                -->
  179.                 <!-- END: VERSE CONTENT -->
  180.  
  181.                 <View
  182.                    android:layout_width="match_parent"
  183.                    android:layout_height="0.1dp"
  184.                    android:layout_marginLeft="20dp"
  185.                    android:layout_marginRight="20dp"
  186.                    android:layout_marginTop="5dp"
  187.                    android:background="@color/aluminum" />
  188.  
  189.  
  190.                 <!-- BEGIN: CONTENT -->
  191.                 <LinearLayout
  192.  
  193.                    android:layout_width="match_parent"
  194.                    android:layout_height="wrap_content"
  195.                    android:layout_alignParentLeft="true"
  196.                    android:layout_alignParentStart="true"
  197.                    android:layout_below="@+id/appBarLayout"
  198.                    android:background="@color/transparant"
  199.                    android:orientation="horizontal"
  200.                    android:paddingBottom="0.1dp"
  201.                    android:paddingTop="0.1dp"
  202.                    android:weightSum="100">
  203.  
  204.                     <LinearLayout
  205.                        android:layout_width="0dp"
  206.                        android:layout_height="wrap_content"
  207.                        android:layout_weight="100"
  208.                        android:orientation="vertical"
  209.                        android:background="@color/transparant">
  210.  
  211.  
  212.                         <TextView
  213.                            android:id="@+id/amd_tv_content"
  214.                            android:layout_width="match_parent"
  215.                            android:layout_height="wrap_content"
  216.                            android:layout_marginLeft="5dp"
  217.                            android:layout_marginRight="5dp"
  218.                            android:layout_marginTop="5dp"
  219.                            android:fontFamily="sans-serif-thin"
  220.                            android:gravity="fill_vertical|fill"
  221.                            android:text="Content di sini"
  222.                            android:textColor="@color/black"
  223.                            android:textSize="19dp" />
  224.  
  225.  
  226.                     </LinearLayout>
  227.  
  228.                 </LinearLayout>
  229.                 <!-- END: CONTENT -->
  230.  
  231.                 <!-- BEGIN: AUTHOR  -->
  232.                 <LinearLayout
  233.  
  234.                    android:layout_width="match_parent"
  235.                    android:layout_height="wrap_content"
  236.                    android:background="@color/transparant"
  237.                    android:orientation="horizontal"
  238.                    android:paddingBottom="0.1dp"
  239.                    android:paddingTop="0.1dp">
  240.  
  241.                     <LinearLayout
  242.                        android:layout_width="wrap_content"
  243.                        android:layout_height="wrap_content"
  244.                        android:orientation="horizontal"
  245.                        android:background="@color/transparant">
  246.  
  247.                         <View
  248.                            android:background="@color/toska"
  249.                            android:layout_width="15dp"
  250.                            android:layout_height="2dp"
  251.                            android:layout_gravity="center_vertical"
  252.                            android:layout_marginLeft="5dp"
  253.                            android:layout_marginTop="5dp"/>
  254.  
  255.                         <TextView
  256.                            android:id="@+id/sdd_tv_autor"
  257.                            android:layout_width="match_parent"
  258.                            android:layout_height="wrap_content"
  259.                            android:layout_marginLeft="5dp"
  260.                            android:layout_marginRight="5dp"
  261.                            android:layout_marginTop="5dp"
  262.                            android:fontFamily="sans-serif"
  263.                            android:gravity="fill_vertical|fill"
  264.                            android:text="Author"
  265.                            android:textColor="@color/black"
  266.                            android:textSize="18dp" />
  267.  
  268.  
  269.                     </LinearLayout>
  270.  
  271.                 </LinearLayout>
  272.                 <!-- END: AUTHOR  -->
  273.  
  274.                 <!-- BEGIN: QUOTES  -->
  275.                 <LinearLayout
  276.  
  277.                    android:layout_width="match_parent"
  278.                    android:layout_height="wrap_content"
  279.                    android:layout_alignParentLeft="true"
  280.                    android:layout_alignParentStart="true"
  281.                    android:layout_below="@+id/appBarLayout"
  282.                    android:background="@color/transparant"
  283.                    android:orientation="horizontal"
  284.                    android:paddingBottom="0.1dp"
  285.                    android:paddingTop="0.1dp"
  286.                    android:weightSum="100">
  287.  
  288.                     <LinearLayout
  289.                        android:layout_width="0dp"
  290.                        android:layout_height="wrap_content"
  291.                        android:layout_weight="100"
  292.                        android:orientation="vertical"
  293.                        android:background="@color/transparant">
  294.  
  295.                         <View
  296.                            android:layout_width="match_parent"
  297.                            android:layout_height="0.1dp"
  298.                            android:layout_marginLeft="20dp"
  299.                            android:layout_marginRight="20dp"
  300.                            android:layout_marginTop="30dp"
  301.                            android:background="@color/aluminum" />
  302.  
  303.                         <TextView
  304.                            android:id="@+id/sdld_tv_descriptionend"
  305.                            android:layout_width="match_parent"
  306.                            android:layout_height="wrap_content"
  307.                            android:layout_marginLeft="20dp"
  308.                            android:layout_marginRight="20dp"
  309.                            android:layout_marginTop="0dp"
  310.                            android:layout_marginBottom="0dp"
  311.                            android:fontFamily="sans-serif-thin"
  312.                            android:gravity="center"
  313.                            android:text="Pesan moral di sini"
  314.                            android:textColor="@color/black"
  315.                            android:textStyle="italic"
  316.                            android:textSize="19dp" />
  317.  
  318.                         <View
  319.                            android:layout_width="match_parent"
  320.                            android:layout_height="0.1dp"
  321.                            android:layout_marginLeft="20dp"
  322.                            android:layout_marginRight="20dp"
  323.                            android:layout_marginBottom="30dp"
  324.                            android:background="@color/aluminum" />
  325.  
  326.  
  327.                     </LinearLayout>
  328.  
  329.                 </LinearLayout>
  330.                 <!-- END: QUOTES  -->
  331.  
  332.  
  333.             </LinearLayout>
  334.             <!-- END: ATAS -->
  335.  
  336.  
  337.             <!-- BEGIN: BAWAH -->
  338.             <LinearLayout
  339.                android:id="@+id/sectionBawah"
  340.                android:layout_width="match_parent"
  341.                android:layout_height="wrap_content"
  342.                android:layout_marginTop="0dp"
  343.                android:layout_marginBottom="-10dp"
  344.                android:orientation="vertical"
  345.                android:gravity="center"
  346.                android:background="@color/transparant">
  347.  
  348.  
  349.                 <View
  350.                    android:layout_width="match_parent"
  351.                    android:layout_height="0.0dp"
  352.                    android:layout_marginTop="0dp"
  353.                    android:background="@color/white" />
  354.  
  355.  
  356.  
  357.  
  358.             </LinearLayout>
  359.             <!-- BEGIN: BAWAH -->
  360.  
  361.  
  362.  
  363.         </LinearLayout>
  364.  
  365.     </ScrollView>
  366.  
  367.     <!-- BEGIN: FOOTER -->
  368.     <LinearLayout
  369.        android:id="@+id/sectionFooter"
  370.        android:layout_width="match_parent"
  371.        android:layout_height="wrap_content"
  372.        android:orientation="vertical"
  373.        android:gravity="center"
  374.        android:layout_alignParentBottom="true"
  375.        android:background="@color/transparant"
  376.        android:paddingTop="5dp">
  377.  
  378.  
  379.         <View
  380.            android:layout_width="match_parent"
  381.            android:layout_height="0dp"
  382.            android:layout_marginTop="0dp"
  383.            android:background="@color/white" />
  384.  
  385.         <!-- BEGIN: MID MENU / GRID -->
  386.  
  387.         <LinearLayout
  388.            android:layout_width="fill_parent"
  389.            android:layout_height="wrap_content"
  390.            android:layout_alignParentBottom="false"
  391.            android:layout_alignParentLeft="true"
  392.            android:layout_marginRight="5dp"
  393.            android:layout_marginLeft="5dp"
  394.            android:layout_marginBottom="-7dp"
  395.            android:orientation="vertical"
  396.            android:visibility="visible"
  397.            android:background="@drawable/button_rounded">
  398.  
  399.             <LinearLayout
  400.                android:layout_width="fill_parent"
  401.                android:layout_height="wrap_content"
  402.                android:orientation="vertical"
  403.                android:layout_gravity="center_horizontal"
  404.                android:layout_marginBottom="0dp"
  405.                android:layout_marginRight="5dp"
  406.                android:layout_marginLeft="5dp">
  407.  
  408.                 <View
  409.                    android:background="@color/white"
  410.                    android:layout_width="match_parent"
  411.                    android:layout_height="0.1dp"/>
  412.  
  413.                 <LinearLayout
  414.                    android:id="@+id/sp_ll_edit"
  415.                    android:paddingBottom="0dp"
  416.                    android:paddingTop="0.1dp"
  417.                    android:layout_width="match_parent"
  418.                    android:layout_height="80dp"
  419.                    android:orientation="horizontal"
  420.                    android:weightSum="100"
  421.                    android:layout_marginLeft="5dp"
  422.                    android:layout_marginRight="5dp"
  423.                    android:background="@color/colorPrimaryDark"
  424.                    android:layout_below="@+id/appBarLayout"
  425.                    android:layout_alignParentLeft="true"
  426.                    android:layout_alignParentStart="true"
  427.                    >
  428.  
  429.                     <LinearLayout
  430.                        android:id="@+id/sdld_ll_speaker"
  431.                        android:layout_width="0dp"
  432.                        android:layout_height="match_parent"
  433.                        android:layout_weight="50"
  434.                        android:orientation="vertical"
  435.                        android:background="@color/transparant"
  436.                        >
  437.  
  438.  
  439.                         <ImageView
  440.                            android:layout_width="wrap_content"
  441.                            android:layout_height="35dp"
  442.                            android:layout_gravity="center"
  443.                            android:layout_marginTop="5dp"
  444.                            android:layout_marginLeft="0dp"
  445.                            android:src="@drawable/ic_volume_up_black_24dp"
  446.                            android:tint="@color/white" />
  447.  
  448.                         <TextView
  449.                            android:id="@+id/slld_tv_findroute_capt"
  450.                            android:layout_width="wrap_content"
  451.                            android:layout_height="wrap_content"
  452.                            android:layout_gravity="center"
  453.                            android:layout_marginRight="0dp"
  454.                            android:layout_marginLeft="0dp"
  455.                            android:layout_marginTop="-5dp"
  456.                            android:fontFamily="sans-serif-thin"
  457.                            android:text="SPEAKER"
  458.                            android:textAlignment="center"
  459.                            android:textSize="20dp"
  460.                            android:textColor="@color/white" />
  461.  
  462.  
  463.                     </LinearLayout>
  464.  
  465.                     <View
  466.                        android:background="@color/white"
  467.                        android:layout_width="0.1dp"
  468.                        android:layout_height="match_parent"/>
  469.  
  470.  
  471.                     <LinearLayout
  472.                        android:id="@+id/sdld_ll_share"
  473.                        android:layout_width="0dp"
  474.                        android:layout_height="match_parent"
  475.                        android:layout_weight="50"
  476.                        android:orientation="vertical"
  477.                        android:layout_gravity="center_horizontal"
  478.                        android:background="@color/transparant">
  479.  
  480.  
  481.                         <ImageView
  482.                            android:layout_width="wrap_content"
  483.                            android:layout_height="35dp"
  484.                            android:layout_gravity="center"
  485.                            android:layout_marginLeft="0dp"
  486.                            android:layout_marginTop="5dp"
  487.                            android:src="@drawable/ic_share_black_24dp"
  488.                            android:tint="@color/white" />
  489.  
  490.                         <TextView
  491.                            android:id="@+id/slld_tv_googlemap_capt"
  492.                            android:layout_width="wrap_content"
  493.                            android:layout_height="wrap_content"
  494.                            android:layout_gravity="center"
  495.                            android:layout_marginLeft="0dp"
  496.                            android:layout_marginTop="-5dp"
  497.                            android:fontFamily="sans-serif-thin"
  498.                            android:text="SHARE"
  499.                            android:textAlignment="center"
  500.                            android:textSize="20sp"
  501.                            android:textColor="@color/white" />
  502.  
  503.                     </LinearLayout>
  504.  
  505.  
  506.  
  507.                 </LinearLayout>
  508.  
  509.             </LinearLayout>
  510.  
  511.         </LinearLayout>
  512.  
  513.         <!-- END: MID MENU / GRID  -->
  514.  
  515.         <!-- BEGIN: FOOTER MENU -->
  516.         <!--<include layout="@layout/sys_menu_sectiondetail_lowermenu" />-->
  517.         <!-- END: FOOTER MENU -->
  518.  
  519.     </LinearLayout>
  520.     <!-- BEGIN: FOOTER -->
  521.  
  522. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement