由网友(暧昧已成伤)分享简介:我需要为头版做了一些用户界面设计的Android应用程序,最有可能只。I need to do some User Interface design in android application,most probably for a front page only.对于例如:我需要做这样的下面的图片For...
我需要为头版做了一些用户界面设计的Android应用程序,最有可能只。
I need to do some User Interface design in android application,most probably for a front page only.
对于例如:我需要做这样的下面的图片
For an example: I need to do like this below image.
我试着像布局放置的图像和色彩的动作,但我没有得到完美的effect.If我得到一些样品或Github上张贴或其他一些建议,这将是对我很有帮助。
I tried like placing an image in layout and coloring the action, but I didn't get the perfect effect.If I get some samples or Github post or some other suggestion that will be helpful to me.
推荐答案
您可以试试这个库的https:/ /github.com/kmshack/Android-ParallaxHeaderViewPager
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<fr.castorflex.android.googleplusprofilepageapp.ParallaxImageView ... />
<LinearLayout ... >
<TextView ... />
<TextView ... />
<TextView ... />
</LinearLayout>
<!-- we add one more container to facilitate the add/remove view -->
<FrameLayout android:id="@+id/tabs_container"
android:layout_height="48dp"
android:layout_width="match_parent"
android:layout_below="@+id/informations_container">
<HorizontalScrollView
android:id="@+id/horizontalscrollview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scrollbars="none"
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<!-- tabs here -->
</LinearLayout>
</HorizontalScrollView>
</FrameLayout>
<ImageView ... />
</RelativeLayout>
相关推荐
最新文章