android - Need to fit a logo in relative-layout -


i working new android application. need fit logo in bottom right corner here using relative layout parent.so difficult me please 1 me fix this. picture my need fix red logo above progress-bar , bottom right of window shown in picture

use this

<?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" >      <progressbar         android:id="@+id/progressbar"         style="?android:attr/progressbarstylehorizontal"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:layout_alignparentbottom="true"         android:layout_alignparentleft="true"         android:layout_alignparentright="true" />      <imageview         android:id="@+id/imageview1"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:layout_above="@+id/progressbar"         android:layout_alignparentright="true"         android:src="@drawable/ic_logo" />  </relativelayout> 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -