Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
504
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.45 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3.    android:id="@+id/linearLayout"
  4.    xmlns:android="http://schemas.android.com/apk/res/android"
  5.    xmlns:app="http://schemas.android.com/apk/res-auto"
  6.    xmlns:tools="http://schemas.android.com/tools"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="wrap_content"
  9.    android:background="@color/colorAccent"
  10.    android:padding="10dp"
  11.    tools:context=".Main2Activity">
  12.  
  13.  
  14.     <ImageView
  15.        android:id="@+id/imageView"
  16.        android:src="@mipmap/ic_launcher"
  17.        android:scaleType="centerCrop"
  18.        android:layout_width="100dp"
  19.        android:layout_height="100dp" />
  20.  
  21.     <LinearLayout
  22.        android:padding="10dp"
  23.        android:orientation="vertical"
  24.        android:layout_width="wrap_content"
  25.        android:layout_height="wrap_content">
  26.         <TextView
  27.            android:id="@+id/txtView"
  28.            android:text="Name"
  29.            android:textStyle="bold"
  30.            android:textColor="#000"
  31.            android:layout_width="wrap_content"
  32.            android:layout_height="wrap_content" />
  33.         <TextView
  34.            android:id="@+id/txtView2"
  35.            android:layout_marginTop="20dp"
  36.            android:text="score"
  37.            android:textStyle="bold"
  38.            android:textColor="#000"
  39.            android:layout_width="wrap_content"
  40.            android:layout_height="wrap_content" />
  41.  
  42.     </LinearLayout>
  43.  
  44.  
  45. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement