Android ImageView Circle Placement In RelativeLayout

How to above sequence in RelativeLayout

Answers


You can use this library to create circular layout: https://github.com/dmitry-zaitsev/CircleLayout

Simple code (Using the library) :

 <ru.biovamp.widget.CircleLayout
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="@android:color/white"
  app:angleOffset="90.0"
  app:layoutMode="pie"
  app:divider="#112233"
  app:innerRadius="40dp"
  app:innerCircle="#119922"
  app:dividerWidth="10dp"
  >

 <TextView android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="one"
      android:id="@+id/w"

  />
 <TextView android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="two"
      android:id="@+id/w1"
  />
 <TextView android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="three"
      android:id="@+id/w2"
  />
    <TextView android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="four"
      android:id="@+id/w3"
  />
       <TextView android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="five"
      android:id="@+id/w4"
  />

 </ru.biovamp.widget.CircleLayout>

NB: you can any Views type (txtviews, buttons, imageviews..)

i was using Samsung tuto but link dead, here another tuto inspired from samsung.


Need Your Help

control desktop maximize area in C#

c# windows desktop maximize

Is there a way to control what space of the screen windows can be maximized to, in C#

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.