Skip to content

Commit

Permalink
Some itens have been fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fábio Filho authored and Fábio Filho committed Dec 2, 2016
1 parent c1ed708 commit fc48170
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 40 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified app/.DS_Store
Binary file not shown.
16 changes: 8 additions & 8 deletions app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" />
Expand All @@ -82,6 +74,14 @@
<sourceFolder url="file://$MODULE_DIR$/src/test/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/builds" />
Expand Down
Binary file added app/src/.DS_Store
Binary file not shown.
Binary file added app/src/main/.DS_Store
Binary file not shown.
Binary file added app/src/main/res/.DS_Store
Binary file not shown.
37 changes: 5 additions & 32 deletions app/src/main/res/layout/activity_portfolio.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_portfolio"
android:layout_width="match_parent"
Expand All @@ -9,25 +10,12 @@
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.fabiofilho.appportfolio.PortfolioActivity"
android:background="#8e9afa">

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginLeft="15dp"
android:layout_marginStart="15dp"
android:layout_marginRight="15dp">
android:background="@color/colorDefaultBackground">

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


android:orientation="vertical">

<TextView
android:layout_width="match_parent"
Expand All @@ -38,51 +26,41 @@
android:textColor="#000"
android:gravity="center_horizontal"/>


<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/portfolio_activity_button_popular_movies"
android:onClick="onClickPopularMoviesButton"
style="@style/DefaultButtonPortfolioActivity" />



<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/portfolio_activity_button_stock_hawk"
android:onClick="onClickStockHawkButton"
style="@style/DefaultButtonPortfolioActivity" />



<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/portfolio_activity_button_build_it_bigger"
android:onClick="onClickBuiltItBiggerButton"
style="@style/DefaultButtonPortfolioActivity" />


<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/portfolio_activity_button_make_app_material"
android:onClick="onClickMakeAppMaterialButton"
style="@style/DefaultButtonPortfolioActivity" />



<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/portfolio_activity_button_go_ubiquitous"
android:onClick="onClickGoUbiquitousButton"
style="@style/DefaultButtonPortfolioActivity" />



<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand All @@ -91,11 +69,6 @@
android:background="?android:attr/colorActivatedHighlight"
style="@style/DefaultButtonPortfolioActivity" />



</LinearLayout>



</ScrollView>
</RelativeLayout>
</ScrollView>
1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
<color name="colorPrimary">#282828</color>
<color name="colorPrimaryDark">#000</color>
<color name="colorAccent">#FF4081</color>
<color name="colorDefaultBackground">#8e9afa</color>
</resources>

0 comments on commit fc48170

Please sign in to comment.