用户界面设计的android系统头版 [英] User Interface design for front page in android

查看:217
本文介绍了用户界面设计的android系统头版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为头版做了一些用户界面设计的Andr​​oid应用程序,最有可能只。

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>

这篇关于用户界面设计的android系统头版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆