左侧ui
This commit is contained in:
@@ -47,4 +47,6 @@ dependencies {
|
||||
compile 'com.flyco.tablayout:FlycoTabLayout_Lib:2.0.0@aar'
|
||||
//viewpager transforms
|
||||
compile 'com.ToxicBakery.viewpager.transforms:view-pager-transforms:1.2.32@aar'
|
||||
//个人信息的那个条条
|
||||
// compile 'com.akexorcist:RoundCornerProgressBar:2.0.3'
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import android.support.v4.app.FragmentPagerAdapter;
|
||||
|
||||
import com.example.ninefourone.nutritionmaster.R;
|
||||
import com.example.ninefourone.nutritionmaster.modules.viewpagerfragments.page1.Page1;
|
||||
import com.example.ninefourone.nutritionmaster.modules.viewpagerfragments.page2.BodyInformationFragment;
|
||||
import com.example.ninefourone.nutritionmaster.modules.viewpagerfragments.bodyinformation.BodyInformationFragment;
|
||||
import com.example.ninefourone.nutritionmaster.modules.viewpagerfragments.page3.Page3;
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.example.ninefourone.nutritionmaster.modules.viewpagerfragments.page2;
|
||||
package com.example.ninefourone.nutritionmaster.modules.viewpagerfragments.bodyinformation;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
@@ -12,7 +12,7 @@ import com.example.ninefourone.nutritionmaster.base.BaseFragment;
|
||||
public class BodyInformationFragment extends BaseFragment {
|
||||
@Override
|
||||
public int getLayoutResId() {
|
||||
return R.layout.page_2;
|
||||
return R.layout.body_information_fragment;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -7,7 +7,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
app:edMenuBackground="@color/colorPrimary"
|
||||
app:edMenuBackground="#FFF"
|
||||
app:edMenuSize="230dp"
|
||||
app:edPosition="1">
|
||||
|
||||
@@ -102,15 +102,31 @@
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<Button
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="50dp"
|
||||
android:text="sidjisd" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="150dp"
|
||||
android:background="@color/colorPrimary"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="50dp"
|
||||
android:text="hahahah" />
|
||||
<com.github.siyamed.shapeimageview.CircularImageView
|
||||
android:id="@+id/drawer_user_avatar"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:src="@drawable/test_avatar" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginTop="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:text="ScorpioMiku"
|
||||
android:textColor="#FFF" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</com.mxn.soul.flowingdrawer_core.FlowingMenuLayout>
|
||||
|
||||
Reference in New Issue
Block a user