Skip to content

Instantly share code, notes, and snippets.

@kyodgorbek
Created November 4, 2018 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyodgorbek/724309b5eacbc74af2f3cba3a266f9b0 to your computer and use it in GitHub Desktop.
Save kyodgorbek/724309b5eacbc74af2f3cba3a266f9b0 to your computer and use it in GitHub Desktop.
cv app
LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorBlust"
android:orientation="vertical"
android:padding="30dp">
<com.mikhaellopez.circularimageview.CircularImageView
android:id="@+id/circularImageView"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_gravity="center"
android:layout_marginRight="50dp"
android:scaleType="centerCrop"
android:src="@drawable/ic_profile"
app:civ_border_color="#EEEEEE"
app:civ_border_width="4dp"
app:civ_shadow="true"
/>
<View style="@style/dividerHorizontal" />
<Space
android:layout_width="10dp"
android:layout_height="5dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:background="@color/colorBlust"
android:orientation="horizontal">
<ImageView
android:id="@+id/linkedin_icon"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_below="@id/item"
android:layout_marginStart="10dp"
android:layout_marginLeft="10dp"
android:padding="5dp"
android:src="@drawable/linkedin_contact" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/linkedin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginLeft="10dp"
android:layout_marginTop="5dp"
android:padding="2dp"
android:text="@string/Linkedin"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/colorWhite" />
</LinearLayout>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:background="@color/colorBlust"
android:orientation="horizontal">
<Space
android:layout_width="10dp"
android:layout_height="5dp" />
<ImageView
android:id="@+id/icon"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_below="@id/item"
android:layout_marginStart="10dp"
android:layout_marginLeft="10dp"
android:padding="5dp"
android:src="@drawable/gmail_contact" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/gmail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:padding="2dp"
android:text="@string/gmail"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/colorWhite" />
</LinearLayout>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:background="@color/colorBlust"
android:orientation="horizontal">
<Space
android:layout_width="10dp"
android:layout_height="5dp" />
<ImageView
android:id="@+id/contact_phone"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_below="@id/item"
android:layout_marginStart="10dp"
android:layout_marginLeft="10dp"
android:padding="5dp"
android:src="@drawable/phone_contact" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/gmail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:padding="2dp"
android:text="@string/gmail"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/colorWhite" />
</LinearLayout>
<Space
android:layout_width="50dp"
android:layout_height="20dp" />
<TextView
android:id="@+id/contact"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:layout_marginTop="20dp"
android:gravity="center"
android:text="@string/text_contact"
android:textColor="@color/colorWhite"
android:textSize="16sp" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment