[xml] Exmple for lima

Viewer

copydownloadembedprintName: Exmple for lima
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView
  3.     xmlns:android="http://schemas.android.com/apk/res/android"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     tools:context=".MainActivity">
  8.  
  9.  
  10.     <LinearLayout
  11.         android:layout_width="match_parent"
  12.         android:layout_height="wrap_content"
  13.         android:orientation="vertical"
  14.         tools:ignore="ExtraText">
  15.  
  16.  
  17.  
  18.         <TextView
  19.             android:layout_marginTop="10dp"
  20.             android:layout_width="wrap_content"
  21.             android:layout_height="wrap_content"
  22.             android:text="@string/header"
  23.             android:layout_marginStart="10dp"
  24.             android:layout_marginEnd="10dp"
  25.             android:textSize="20sp"
  26.             android:textColor="#000"
  27.             />
  28.  
  29.         <ImageView
  30.             android:layout_width="match_parent"
  31.             android:layout_height="250dp"
  32.             android:layout_marginStart="10dp"
  33.             android:layout_marginEnd="10dp"
  34.             android:src="@drawable/main_alu"
  35.             android:contentDescription="@string/alu"
  36.             android:scaleType="fitXY"
  37.             android:layout_marginTop="20dp"
  38.             />
  39.  
  40.  
  41.         <TextView
  42.             android:layout_marginTop="20dp"
  43.             android:layout_width="wrap_content"
  44.             android:layout_height="wrap_content"
  45.             android:text="@string/p1"
  46.             android:textSize="16sp"
  47.             android:layout_marginStart="10dp"
  48.             android:layout_marginEnd="10dp"
  49.             android:textColor="#000"
  50.             />
  51.  
  52.  
  53.         <TextView
  54.             android:layout_width="wrap_content"
  55.             android:layout_height="wrap_content"
  56.             android:layout_marginStart="10dp"
  57.             android:layout_marginEnd="10dp"
  58.             android:text="@string/p2"
  59.             android:layout_marginTop="20dp"
  60.             />
  61.  
  62.  
  63.         <TextView
  64.             android:layout_width="wrap_content"
  65.             android:layout_height="wrap_content"
  66.             android:text="@string/p3"
  67.             android:layout_marginStart="10dp"
  68.             android:layout_marginEnd="10dp"
  69.             android:layout_marginTop="20dp"
  70.             />
  71.  
  72.         <TextView
  73.             android:layout_width="wrap_content"
  74.             android:layout_height="wrap_content"
  75.             android:text="@string/p4"
  76.             android:layout_marginStart="10dp"
  77.             android:layout_marginEnd="10dp"
  78.             android:layout_marginTop="20dp"
  79.             />
  80.  
  81.         <TextView
  82.             android:layout_width="wrap_content"
  83.             android:layout_height="wrap_content"
  84.             android:text="@string/p5"
  85.             android:layout_marginStart="10dp"
  86.             android:layout_marginEnd="10dp"
  87.             android:layout_marginTop="20dp"
  88.             />
  89.  
  90.         <TextView
  91.             android:layout_width="wrap_content"
  92.             android:layout_height="wrap_content"
  93.             android:text="@string/p6"
  94.             android:layout_marginStart="10dp"
  95.             android:layout_marginEnd="10dp"
  96.             android:layout_marginTop="20dp"
  97.             />
  98.  
  99.         <TextView
  100.             android:layout_width="wrap_content"
  101.             android:layout_height="wrap_content"
  102.             android:text="@string/p7"
  103.             android:layout_marginStart="10dp"
  104.             android:layout_marginEnd="10dp"
  105.             android:layout_marginTop="20dp"
  106.             />
  107.  
  108.         <TextView
  109.             android:layout_width="wrap_content"
  110.             android:layout_height="wrap_content"
  111.             android:text="@string/p8"
  112.             android:layout_marginStart="10dp"
  113.             android:layout_marginEnd="10dp"
  114.             android:layout_marginTop="20dp"
  115.             />
  116.  
  117.         <TextView
  118.             android:layout_width="wrap_content"
  119.             android:layout_height="wrap_content"
  120.             android:text="@string/p9"
  121.             android:layout_marginStart="10dp"
  122.             android:layout_marginEnd="10dp"
  123.             android:layout_marginTop="20dp"
  124.             />
  125.  
  126.         <TextView
  127.             android:layout_width="wrap_content"
  128.             android:layout_height="wrap_content"
  129.             android:text="@string/p10"
  130.             android:layout_marginStart="10dp"
  131.             android:layout_marginEnd="10dp"
  132.             android:layout_marginTop="20dp"
  133.             />
  134.  
  135.         <TextView
  136.             android:layout_width="wrap_content"
  137.             android:layout_height="wrap_content"
  138.             android:text="@string/p11"
  139.             android:layout_marginStart="10dp"
  140.             android:layout_marginEnd="10dp"
  141.             android:layout_marginTop="20dp"
  142.             />
  143.  
  144.         <TextView
  145.             android:layout_width="wrap_content"
  146.             android:layout_height="wrap_content"
  147.             android:text="@string/p12"
  148.             android:layout_marginStart="10dp"
  149.             android:layout_marginEnd="10dp"
  150.             android:layout_marginTop="20dp"
  151.             />
  152.  
  153.         <TextView
  154.             android:layout_width="wrap_content"
  155.             android:layout_height="wrap_content"
  156.             android:text="@string/p13"
  157.             android:layout_marginStart="10dp"
  158.             android:layout_marginEnd="10dp"
  159.             android:layout_marginTop="20dp"
  160.             />
  161.  
  162.         <ImageView
  163.             android:layout_width="match_parent"
  164.             android:layout_height="250dp"
  165.             android:layout_marginStart="10dp"
  166.             android:layout_marginEnd="10dp"
  167.             android:src="@drawable/alu"
  168.             android:contentDescription="@string/alu"
  169.             android:scaleType="fitXY"
  170.             android:layout_marginTop="20dp"
  171.             />
  172.  
  173.         <TextView
  174.             android:layout_width="wrap_content"
  175.             android:layout_height="wrap_content"
  176.             android:layout_marginStart="10dp"
  177.             android:layout_marginEnd="10dp"
  178.             android:text="@string/p14"
  179.             android:layout_marginTop="20dp"
  180.             />
  181.  
  182.         <TextView
  183.             android:layout_width="wrap_content"
  184.             android:layout_height="wrap_content"
  185.             android:layout_marginStart="10dp"
  186.             android:text="@string/p15"
  187.             android:layout_marginEnd="10dp"
  188.             android:layout_marginTop="20dp"
  189.             />
  190.  
  191.         <TextView
  192.             android:layout_width="wrap_content"
  193.             android:layout_height="wrap_content"
  194.             android:layout_marginStart="10dp"
  195.             android:text="@string/p16"
  196.             android:layout_marginEnd="10dp"
  197.             android:layout_marginTop="20dp"
  198.             />
  199.  
  200.         <TextView
  201.             android:layout_width="wrap_content"
  202.             android:layout_height="wrap_content"
  203.             android:layout_marginStart="10dp"
  204.             android:layout_marginEnd="10dp"
  205.             android:text="@string/p17"
  206.             android:layout_marginTop="20dp"
  207.             />
  208.  
  209.         <TextView
  210.             android:layout_width="wrap_content"
  211.             android:layout_height="wrap_content"
  212.             android:layout_marginStart="10dp"
  213.             android:layout_marginEnd="10dp"
  214.             android:layout_marginTop="20dp"
  215.             android:text="@string/p18"
  216.             />
  217.  
  218.         <TextView
  219.             android:layout_width="wrap_content"
  220.             android:layout_height="wrap_content"
  221.             android:layout_marginStart="10dp"
  222.             android:layout_marginEnd="10dp"
  223.             android:layout_marginTop="20dp"
  224.             android:text="@string/p19"
  225.             />
  226.  
  227.         <TextView
  228.             android:layout_width="wrap_content"
  229.             android:layout_height="wrap_content"
  230.             android:layout_marginStart="10dp"
  231.             android:layout_marginEnd="10dp"
  232.             android:layout_marginTop="20dp"
  233.             android:text="@string/p20"
  234.             />
  235.  
  236.         <TextView
  237.             android:layout_width="wrap_content"
  238.             android:layout_height="wrap_content"
  239.             android:layout_marginStart="10dp"
  240.             android:layout_marginEnd="10dp"
  241.             android:text="@string/p21"
  242.             android:layout_marginTop="20dp"
  243.             />
  244.  
  245.         <TextView
  246.             android:layout_width="wrap_content"
  247.             android:layout_height="wrap_content"
  248.             android:layout_marginStart="10dp"
  249.             android:layout_marginEnd="10dp"
  250.             android:layout_marginTop="20dp"
  251.             android:text="@string/p22"
  252.             />
  253.  
  254.         <ImageView
  255.             android:layout_width="match_parent"
  256.             android:layout_height="250dp"
  257.             android:layout_marginStart="10dp"
  258.             android:layout_marginEnd="10dp"
  259.             android:src="@drawable/alu2"
  260.             android:contentDescription="@string/alu"
  261.             android:scaleType="fitXY"
  262.             android:layout_marginTop="20dp"
  263.             android:layout_marginBottom="20dp"
  264.             />
  265.  
  266.  
  267.  
  268.     </LinearLayout>
  269.  
  270.  
  271. </ScrollView>

Editor

You can edit this paste and save as new:


File Description
  • Exmple for lima
  • Paste Code
  • 19 Oct-2020
  • 8.92 Kb
You can Share it: