Skip to content

Instantly share code, notes, and snippets.

@vito8916
Created March 3, 2016 21:24
Show Gist options
  • Select an option

  • Save vito8916/e77e4636a7a703fe41e4 to your computer and use it in GitHub Desktop.

Select an option

Save vito8916/e77e4636a7a703fe41e4 to your computer and use it in GitHub Desktop.

Revisions

  1. vito8916 created this gist Mar 3, 2016.
    Binary file added res_drawable_admin_pic.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_drawable_person.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    7 changes: 7 additions & 0 deletions res_drawable_selector_clickable_item_bg.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    <?xml version="1.0" encoding="utf-8"?>
    <selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_focused="true" android:state_pressed="true" android:drawable="@color/global_color_control_highlight" />
    <item android:state_focused="false" android:state_pressed="true" android:drawable="@color/global_color_control_highlight" />
    <item android:state_focused="true" android:drawable="@color/global_color_control_highlight" />
    <item android:drawable="@android:color/transparent" />
    </selector>
    7 changes: 7 additions & 0 deletions res_drawable_selector_clickable_item_bg_inverse.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    <?xml version="1.0" encoding="utf-8"?>
    <selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_focused="true" android:state_pressed="true" android:drawable="@color/global_color_clickable_inverse" />
    <item android:state_focused="false" android:state_pressed="true" android:drawable="@color/global_color_clickable_inverse" />
    <item android:state_focused="true" android:drawable="@color/global_color_clickable_inverse" />
    <item android:drawable="@android:color/transparent" />
    </selector>
    5 changes: 5 additions & 0 deletions res_drawable_selector_selectable_item_bg.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    <?xml version="1.0" encoding="utf-8"?>
    <selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_activated="true" android:drawable="@color/global_color_selectable" />
    <item android:drawable="@color/global_bg_front" />
    </selector>
    55 changes: 55 additions & 0 deletions res_layout_activity_detalle_persona.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,55 @@
    <?xml version="1.0" encoding="utf-8"?>
    <android.support.design.widget.CoordinatorLayout 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:fitsSystemWindows="true"
    tools:context="com.dev.victor.people.DetallePersona">

    <android.support.design.widget.AppBarLayout
    android:id="@+id/app_bar"
    android:layout_width="match_parent"
    android:layout_height="@dimen/app_bar_height"
    android:fitsSystemWindows="true"
    android:theme="@style/AppTheme.AppBarOverlay">

    <android.support.design.widget.CollapsingToolbarLayout
    android:id="@+id/toolbar_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true"
    app:contentScrim="?attr/colorPrimary"
    app:layout_scrollFlags="scroll|exitUntilCollapsed">

    <ImageView
    android:id="@+id/imgPersona_banner"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:scaleType="centerCrop"

    android:fitsSystemWindows="true"
    app:layout_collapseMode="parallax" />

    <android.support.v7.widget.Toolbar
    android:id="@+id/toolbar"
    android:layout_width="match_parent"
    android:layout_height="?attr/actionBarSize"
    app:layout_collapseMode="pin"
    app:popupTheme="@style/AppTheme.PopupOverlay" />

    </android.support.design.widget.CollapsingToolbarLayout>
    </android.support.design.widget.AppBarLayout>

    <include layout="@layout/content_detalle_persona" />

    <android.support.design.widget.FloatingActionButton
    android:id="@+id/fab"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="@dimen/fab_margin"
    android:src="@android:drawable/ic_dialog_email"
    app:layout_anchor="@id/app_bar"
    app:layout_anchorGravity="bottom|end" />

    </android.support.design.widget.CoordinatorLayout>
    30 changes: 30 additions & 0 deletions res_layout_activity_main.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    <?xml version="1.0" encoding="utf-8"?>
    <android.support.design.widget.CoordinatorLayout
    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:fitsSystemWindows="true"
    tools:context="com.dev.victor.people.MainActivity">

    <android.support.design.widget.AppBarLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:theme="@style/AppTheme.AppBarOverlay">

    <android.support.v7.widget.Toolbar
    android:id="@+id/toolbar"
    android:layout_width="match_parent"
    android:layout_height="?attr/actionBarSize"
    android:background="?attr/colorPrimary"
    app:popupTheme="@style/AppTheme.PopupOverlay"
    app:layout_collapseMode="pin"/>

    </android.support.design.widget.AppBarLayout>

    <include layout="@layout/content_main" />



    </android.support.design.widget.CoordinatorLayout>
    35 changes: 35 additions & 0 deletions res_layout_content_detalle_persona.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    <?xml version="1.0" encoding="utf-8"?>
    <android.support.v4.widget.NestedScrollView 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"
    app:layout_behavior="@string/appbar_scrolling_view_behavior"
    tools:context="com.dev.victor.people.DetallePersona"
    tools:showIn="@layout/activity_detalle_persona">

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">
    <include
    layout="@layout/descripcion"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginTop="@dimen/margin_top"
    android:layout_marginBottom="@dimen/margin_bottom"
    android:layout_marginLeft="@dimen/margin_left"
    android:layout_marginRight="@dimen/margin_right"/>

    <include
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    layout="@layout/descripcion_2"
    android:layout_marginTop="@dimen/margin_top2"
    android:layout_marginBottom="@dimen/margin_bottom"
    android:layout_marginLeft="@dimen/margin_left"
    android:layout_marginRight="@dimen/margin_right"/>

    </LinearLayout>

    </android.support.v4.widget.NestedScrollView>
    17 changes: 17 additions & 0 deletions res_layout_content_main.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    <?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"

    app:layout_behavior="@string/appbar_scrolling_view_behavior"
    tools:context="com.dev.victor.people.MainActivity"
    tools:showIn="@layout/activity_main">

    <android.support.v7.widget.RecyclerView
    android:id="@+id/recicladorPersonas"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:scrollbars="vertical" />
    </RelativeLayout>
    83 changes: 83 additions & 0 deletions res_layout_descripcion.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,83 @@
    <?xml version="1.0" encoding="utf-8"?>
    <android.support.v7.widget.CardView
    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="wrap_content"
    app:cardBackgroundColor="#ffffff"
    app:cardCornerRadius="@dimen/card_corner_radius"
    app:cardElevation="@dimen/elevation_card">

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <TextView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="16dp"
    android:textSize="24sp"
    android:fontFamily="sans-serif-light"
    android:text="Acerca de"
    />

    <View
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?attr/dividerHorizontal" />

    <TextView
    android:id="@+id/decripcionDetalle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="16dp"
    android:textSize="14sp"
    android:textColor="#8a000000" />

    <View

    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?attr/dividerHorizontal" />

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="16dp"
    android:gravity="center"
    android:orientation="horizontal">

    <TextView
    android:id="@+id/phonenumberDetalle"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:gravity="center"
    android:drawableTop="@mipmap/ic_local_phone_grey600_24dp"
    android:textSize="16sp"
    android:background="@drawable/selector_clickable_item_bg" />

    <TextView
    android:id="@+id/facebooklinkDetalle"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:gravity="center"
    android:drawableTop="@mipmap/ic_mood_grey600_24dp"
    android:textSize="16sp"
    android:background="@drawable/selector_clickable_item_bg" />

    <TextView
    android:id="@+id/twitterlinkDetalle"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:gravity="center"
    android:drawableTop="@mipmap/ic_pages_grey600_24dp"
    android:textSize="16sp"
    android:background="@drawable/selector_clickable_item_bg" />

    </LinearLayout>
    </LinearLayout>
    </android.support.v7.widget.CardView>
    91 changes: 91 additions & 0 deletions res_layout_descripcion_2.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,91 @@
    <?xml version="1.0" encoding="utf-8"?>
    <android.support.v7.widget.CardView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/fragment_recipe_detail_ingredients"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:cardBackgroundColor="@color/global_bg_front"
    app:cardCornerRadius="@dimen/card_corner_radius"
    app:cardElevation="@dimen/elevation_card">

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <TextView
    android:id="@+id/otrosDatos"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="@dimen/global_spacing_xs"
    android:textSize="24dp"
    android:fontFamily="sans-serif-light"
    android:text="Otros Datos" />

    <View
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?attr/dividerHorizontal" />

    <LinearLayout
    android:id="@+id/contenedor_otros_datos"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="@dimen/global_spacing_xs"
    android:orientation="vertical">

    <TextView
    android:id="@+id/edadDetalle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="16dp"
    android:textSize="14sp"
    android:textColor="#8a000000" />
    <TextView
    android:id="@+id/civilDetalle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="16dp"
    android:textSize="14sp"
    android:textColor="#8a000000" />
    <TextView
    android:id="@+id/profesionDetalle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="16dp"
    android:textSize="14sp"
    android:textColor="#8a000000" />
    <!-- checkbox items will be added programmatically -->

    </LinearLayout>

    <View
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?attr/dividerHorizontal" />

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:paddingLeft="16dp"
    android:paddingRight="16dp">

    <Button
    android:id="@+id/boton1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="WhatsApp"
    style="?android:attr/borderlessButtonStyle" />

    <Button
    android:id="@+id/boton2"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="Email"
    style="?android:attr/borderlessButtonStyle" />

    </LinearLayout>
    </LinearLayout>
    </android.support.v7.widget.CardView>
    72 changes: 72 additions & 0 deletions res_layout_item_list_personas.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,72 @@
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:card_view="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="72dp">


    <RelativeLayout
    android:id="@+id/rlitemcategoria"
    android:paddingLeft="16dp"
    android:paddingRight="16dp"
    android:layout_width="match_parent"
    android:layout_height="match_parent">


    <de.hdodenhof.circleimageview.CircleImageView
    android:layout_width="40dp"
    android:layout_height="40dp"
    android:id="@+id/img_persona"
    android:layout_centerVertical="true"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:scaleType="centerCrop"
    android:layout_margin="5dp" />

    <TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textAppearance="?android:attr/textAppearanceMedium"
    android:text="Victor Alvarado"
    android:id="@+id/Txtnombre_persona"

    android:layout_marginLeft="16dp"
    android:layout_marginStart="16dp"

    android:layout_toRightOf="@+id/img_persona"
    android:layout_toEndOf="@+id/img_persona"
    android:layout_marginTop="16dp"
    android:textColor="@color/abc_primary_text_material_light" />

    <TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textAppearance="?android:attr/textAppearanceSmall"
    android:text="Esto es una breve descripcion de victor alvarado para visualizar"
    android:id="@+id/Txt_descrip_persona"

    android:singleLine="false"
    android:lines="1"
    android:layout_below="@+id/Txtnombre_persona"
    android:layout_alignLeft="@+id/Txtnombre_persona"
    android:layout_alignStart="@+id/Txtnombre_persona"
    android:layout_marginTop="9dp"
    android:textColor="@color/abc_secondary_text_material_light" />
    <View
    android:layout_width="match_parent"
    android:layout_height="@dimen/separadodr"
    android:background="@color/separador"
    android:layout_alignParentBottom="true"
    android:layout_alignRight="@+id/Txt_descrip_persona"
    android:layout_alignEnd="@+id/Txt_descrip_persona"
    android:layout_alignLeft="@+id/Txt_descrip_persona"
    android:layout_alignStart="@+id/Txt_descrip_persona"
    />


    </RelativeLayout>



    </LinearLayout>
    55 changes: 55 additions & 0 deletions res_layout_items_2.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,55 @@
    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="80dp"
    android:background="?android:attr/selectableItemBackground"
    android:clickable="true"
    xmlns:android="http://schemas.android.com/apk/res/android">

    <de.hdodenhof.circleimageview.CircleImageView
    android:id="@+id/img_persona2"
    android:layout_width="48dp"
    android:layout_height="48dp"
    android:layout_margin="16dp"
    />

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:layout_alignParentEnd="true"
    android:layout_alignParentRight="true"
    android:layout_alignParentTop="true"
    android:layout_marginLeft="75dp"
    android:gravity="center_vertical"
    android:orientation="vertical">

    <TextView
    android:id="@+id/Txtnombre_persona2"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:paddingRight="16dp"

    android:textColor="@color/abc_primary_text_material_light" />

    <TextView
    android:id="@+id/Txt_descrip_persona2"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:ellipsize="end"
    android:maxLines="1"
    android:paddingRight="16dp"

    android:textColor="@color/abc_secondary_text_material_light" />

    </LinearLayout>

    <View
    android:layout_width="match_parent"
    android:layout_height="0.5dp"
    android:layout_alignParentBottom="true"
    android:layout_marginLeft="72dp"
    android:background="@color/separador"
    android:layout_marginRight="16dp" />

    </RelativeLayout>
    10 changes: 10 additions & 0 deletions res_menu_menu_detalle_persona.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    <menu 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"
    tools:context="com.dev.victor.people.DetallePersona">
    <item
    android:id="@+id/action_settings"
    android:orderInCategory="100"
    android:title="@string/action_settings"
    app:showAsAction="never" />
    </menu>
    10 changes: 10 additions & 0 deletions res_menu_menu_main.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    <menu 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"
    tools:context="com.dev.victor.people.MainActivity">
    <item
    android:id="@+id/action_settings"
    android:orderInCategory="100"
    android:title="@string/action_settings"
    app:showAsAction="never" />
    </menu>
    Binary file added res_mipmap-hdpi_ic_launcher.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-hdpi_ic_local_phone_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-hdpi_ic_mood_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-hdpi_ic_pages_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-mdpi_ic_launcher.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-mdpi_ic_local_phone_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-mdpi_ic_mood_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-mdpi_ic_pages_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-xhdpi_ic_launcher.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-xhdpi_ic_local_phone_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-xhdpi_ic_mood_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-xhdpi_ic_pages_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-xxhdpi_ic_launcher.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-xxhdpi_ic_local_phone_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-xxhdpi_ic_mood_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-xxhdpi_ic_pages_grey600_24dp.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Binary file added res_mipmap-xxxhdpi_ic_launcher.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
    9 changes: 9 additions & 0 deletions res_values-v21_styles.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    <resources>

    <style name="AppTheme.NoActionBar">
    <item name="windowActionBar">false</item>
    <item name="windowNoTitle">true</item>
    <item name="android:windowDrawsSystemBarBackgrounds">true</item>
    <item name="android:statusBarColor">@android:color/transparent</item>
    </style>
    </resources>
    6 changes: 6 additions & 0 deletions res_values-w820dp_dimens.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    <resources>
    <!-- Example customization of dimensions originally defined in res/values/dimens.xml
    (such as screen margins) for screens with more than 820dp of available width. This
    would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
    <dimen name="activity_horizontal_margin">64dp</dimen>
    </resources>
    11 changes: 11 additions & 0 deletions res_values_colors.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    <?xml version="1.0" encoding="utf-8"?>
    <resources>
    <color name="colorPrimary">#00695c</color>
    <color name="colorPrimaryDark">#004d40</color>
    <color name="colorAccent">#FF4081</color>
    <color name="global_color_control_highlight">#40000000</color>
    <color name="global_color_clickable_inverse">#aaffffff</color>
    <color name="separador">#bdbdbd</color>
    <color name="global_color_selectable">#ededed</color>
    <color name="global_bg_front">#ffffff</color>
    </resources>
    19 changes: 19 additions & 0 deletions res_values_dimens.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    <resources>
    <!-- Default screen margins, per the Android Design guidelines. -->
    <dimen name="activity_horizontal_margin">16dp</dimen>
    <dimen name="activity_vertical_margin">16dp</dimen>
    <dimen name="fab_margin">16dp</dimen>
    <dimen name="separadodr">1dp</dimen>
    <dimen name="app_bar_height">380dp</dimen>
    <dimen name="text_margin">16dp</dimen>
    <dimen name="card_corner_radius">2dp</dimen>
    <dimen name="elevation_card">2dp</dimen>
    <dimen name="global_spacing_xs">16dp</dimen>
    <dimen name="margin_top">1dp</dimen>
    <dimen name="margin_top2">10dp</dimen>
    <dimen name="margin_bottom">2dp</dimen>
    <dimen name="margin_left">-4dp</dimen>
    <dimen name="margin_right">-4dp</dimen>


    </resources>
    151 changes: 151 additions & 0 deletions res_values_strings.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,151 @@
    <resources>
    <string name="app_name">People</string>
    <string name="action_settings">Settings</string>

    <!-- DATOS PARA LISTA DE PERSONAS -->

    <!-- PERSONA 1 -->
    <string name="nombreP1">José Perdomo</string>
    <string name="descripcionP1">Inspired by the latest trends of Material design, using cutting-edge technologies for a fresh and modern look. More design, all the time</string>
    <string name="edadP1">22</string>
    <string name="profesionP1">Estudiante</string>
    <string name="estadocivilP1">Soltero</string>
    <string name="numeroP1">33990000</string>
    <string name="emailP1">joseperdomo@ejemplo.com</string>
    <string name="facebookP1">facebook.com</string>
    <string name="twitterP1">twitter.com</string>

    <!-- PERSONA 2 -->
    <string name="nombreP2">María Oseguera</string>
    <string name="descripcionP2">Inspired by the latest trends of Material design, using cutting-edge technologies for a fresh and modern look. More design, all the time</string>
    <string name="edadP2">24</string>
    <string name="profesionP2">Estudiante</string>
    <string name="estadocivilP2">Soltero</string>
    <string name="numeroP2">33990000</string>
    <string name="emailP2">mariaoseguera@ejemplo.com</string>
    <string name="facebookP2">facebook.com</string>
    <string name="twitterP2">twitter.com</string>

    <!-- PERSONA 3 -->
    <string name="nombreP3">Carlos Paz</string>
    <string name="descripcionP3">Inspired by the latest trends of Material design, using cutting-edge technologies for a fresh and modern look. More design, all the time</string>
    <string name="edadP3">21</string>
    <string name="profesionP3">Estudiante</string>
    <string name="estadocivilP3">Soltero</string>
    <string name="numeroP3">33990000</string>
    <string name="emailP3">carlospaz@ejemplo.com</string>
    <string name="facebookP3">facebook.com</string>
    <string name="twitterP3">twitter.com</string>

    <!-- PERSONA 4 -->
    <string name="nombreP4">Eunice Gómez</string>
    <string name="descripcionP4">Inspired by the latest trends of Material design, using cutting-edge technologies for a fresh and modern look. More design, all the time</string>
    <string name="edadP4">20</string>
    <string name="profesionP4">Estudiante</string>
    <string name="estadocivilP4">Soltero</string>
    <string name="numeroP4">33990000</string>
    <string name="emailP4">eunicegomez@ejemplo.com</string>
    <string name="facebookP4">facebook.com</string>
    <string name="twitterP4">twitter.com</string>

    <!-- PERSONA 5 -->
    <string name="nombreP5">Ricardo Maldonado</string>
    <string name="descripcionP5">Inspired by the latest trends of Material design, using cutting-edge technologies for a fresh and modern look. More design, all the time</string>
    <string name="edadP5">24</string>
    <string name="profesionP5">Estudiante</string>
    <string name="estadocivilP5">Soltero</string>
    <string name="numeroP5">33990000</string>
    <string name="emailP5">ricardomaldonado@ejemplo.com</string>
    <string name="facebookP5">facebook.com</string>
    <string name="twitterP5">twitter.com</string>
    <string name="title_activity_detalle_persona">DetallePersona</string>
    <string name="large_text">
    "Material is the metaphor.\n\n"

    "A material metaphor is the unifying theory of a rationalized space and a system of motion."
    "The material is grounded in tactile reality, inspired by the study of paper and ink, yet "
    "technologically advanced and open to imagination and magic.\n"
    "Surfaces and edges of the material provide visual cues that are grounded in reality. The "
    "use of familiar tactile attributes helps users quickly understand affordances. Yet the "
    "flexibility of the material creates new affordances that supercede those in the physical "
    "world, without breaking the rules of physics.\n"
    "The fundamentals of light, surface, and movement are key to conveying how objects move, "
    "interact, and exist in space and in relation to each other. Realistic lighting shows "
    "seams, divides space, and indicates moving parts.\n\n"

    "Bold, graphic, intentional.\n\n"

    "The foundational elements of print based design typography, grids, space, scale, color, "
    "and use of imagery guide visual treatments. These elements do far more than please the "
    "eye. They create hierarchy, meaning, and focus. Deliberate color choices, edge to edge "
    "imagery, large scale typography, and intentional white space create a bold and graphic "
    "interface that immerse the user in the experience.\n"
    "An emphasis on user actions makes core functionality immediately apparent and provides "
    "waypoints for the user.\n\n"

    "Motion provides meaning.\n\n"

    "Motion respects and reinforces the user as the prime mover. Primary user actions are "
    "inflection points that initiate motion, transforming the whole design.\n"
    "All action takes place in a single environment. Objects are presented to the user without "
    "breaking the continuity of experience even as they transform and reorganize.\n"
    "Motion is meaningful and appropriate, serving to focus attention and maintain continuity. "
    "Feedback is subtle yet clear. Transitions are efficient yet coherent.\n\n"

    "3D world.\n\n"

    "The material environment is a 3D space, which means all objects have x, y, and z "
    "dimensions. The z-axis is perpendicularly aligned to the plane of the display, with the "
    "positive z-axis extending towards the viewer. Every sheet of material occupies a single "
    "position along the z-axis and has a standard 1dp thickness.\n"
    "On the web, the z-axis is used for layering and not for perspective. The 3D world is "
    "emulated by manipulating the y-axis.\n\n"

    "Light and shadow.\n\n"

    "Within the material environment, virtual lights illuminate the scene. Key lights create "
    "directional shadows, while ambient light creates soft shadows from all angles.\n"
    "Shadows in the material environment are cast by these two light sources. In Android "
    "development, shadows occur when light sources are blocked by sheets of material at "
    "various positions along the z-axis. On the web, shadows are depicted by manipulating the "
    "y-axis only. The following example shows the card with a height of 6dp.\n\n"

    "Resting elevation.\n\n"

    "All material objects, regardless of size, have a resting elevation, or default elevation "
    "that does not change. If an object changes elevation, it should return to its resting "
    "elevation as soon as possible.\n\n"

    "Component elevations.\n\n"

    "The resting elevation for a component type is consistent across apps (e.g., FAB elevation "
    "does not vary from 6dp in one app to 16dp in another app).\n"
    "Components may have different resting elevations across platforms, depending on the depth "
    "of the environment (e.g., TV has a greater depth than mobile or desktop).\n\n"

    "Responsive elevation and dynamic elevation offsets.\n\n"

    "Some component types have responsive elevation, meaning they change elevation in response "
    "to user input (e.g., normal, focused, and pressed) or system events. These elevation "
    "changes are consistently implemented using dynamic elevation offsets.\n"
    "Dynamic elevation offsets are the goal elevation that a component moves towards, relative "
    "to the component’s resting state. They ensure that elevation changes are consistent "
    "across actions and component types. For example, all components that lift on press have "
    "the same elevation change relative to their resting elevation.\n"
    "Once the input event is completed or cancelled, the component will return to its resting "
    "elevation.\n\n"

    "Avoiding elevation interference.\n\n"

    "Components with responsive elevations may encounter other components as they move between "
    "their resting elevations and dynamic elevation offsets. Because material cannot pass "
    "through other material, components avoid interfering with one another any number of ways, "
    "whether on a per component basis or using the entire app layout.\n"
    "On a component level, components can move or be removed before they cause interference. "
    "For example, a floating action button (FAB) can disappear or move off screen before a "
    "user picks up a card, or it can move if a snackbar appears.\n"
    "On the layout level, design your app layout to minimize opportunities for interference. "
    "For example, position the FAB to one side of stream of a cards so the FAB won’t interfere "
    "when a user tries to pick up one of cards.\n\n"
    </string>
    </resources>
    20 changes: 20 additions & 0 deletions res_values_styles.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    <resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
    <!-- Customize your theme here. -->
    <item name="colorPrimary">@color/colorPrimary</item>
    <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
    <item name="colorAccent">@color/colorAccent</item>
    </style>

    <style name="AppTheme.NoActionBar">
    <item name="windowActionBar">false</item>
    <item name="windowNoTitle">true</item>
    </style>

    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />

    </resources>