Permalink
Browse files

Add UserProfileActivity

  • Loading branch information...
frogermcs committed Jan 21, 2015
1 parent d863883 commit 97dc05bc340709f0995052ed98a4693cb634f96d
@@ -2,6 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.github.froger.instamaterial">
+ <uses-permission android:name="android.permission.INTERNET" />
+
<application
android:name=".InstaMaterialApplication"
android:icon="@drawable/ic_launcher"
@@ -18,7 +20,11 @@
<activity
android:name="io.github.froger.instamaterial.CommentsActivity"
android:screenOrientation="portrait"
- android:theme="@style/AppTheme.CommentsActivity" />
+ android:theme="@style/AppTheme.TransparentActivity" />
+ <activity
+ android:name="io.github.froger.instamaterial.UserProfileActivity"
+ android:screenOrientation="portrait"
+ android:theme="@style/AppTheme.TransparentActivity" />
</application>
</manifest>
@@ -0,0 +1,24 @@
+package io.github.froger.instamaterial;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.support.v7.widget.RecyclerView;
+import android.support.v7.widget.StaggeredGridLayoutManager;
+import android.view.View;
+import android.view.ViewTreeObserver;
+
+import butterknife.InjectView;
+import io.github.froger.instamaterial.view.RevealBackgroundView;
+
+/**
+ * Created by Miroslaw Stanek on 14.01.15.
+ */
+public class UserProfileActivity extends BaseActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_user_profile);
+ }
+}
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <include
+ android:id="@+id/toolbar"
+ layout="@layout/view_feed_toolbar" />
+
+ <android.support.v7.widget.RecyclerView
+ android:id="@+id/rvUserProfile"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:clipToPadding="false"
+ android:paddingTop="?attr/actionBarSize" />
+
+ <ImageButton
+ android:id="@+id/btnCreate"
+ android:layout_width="@dimen/btn_fab_size"
+ android:layout_height="@dimen/btn_fab_size"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentRight="true"
+ android:layout_marginBottom="@dimen/btn_fab_margins"
+ android:layout_marginRight="@dimen/btn_fab_margins"
+ android:background="@drawable/btn_fab_default"
+ android:elevation="@dimen/default_elevation"
+ android:src="@drawable/ic_instagram_white"
+ android:textSize="28sp" />
+</RelativeLayout>
@@ -8,7 +8,7 @@
<item name="colorAccent">@color/style_color_accent</item>
</style>
- <style name="AppTheme.CommentsActivity">
+ <style name="AppTheme.TransparentActivity">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowIsTranslucent">true</item>
</style>

0 comments on commit 97dc05b

Please sign in to comment.