Click here to Skip to main content
15,884,353 members
Home / Discussions / Android
   

Android

 
GeneralRe: how to retrieve or get next item from json file when press click button listner Pin
ahmed_sa3-Jun-16 13:08
ahmed_sa3-Jun-16 13:08 
SuggestionRe: how to retrieve or get next item from json file when press click button listner Pin
Richard MacCutchan3-Jun-16 22:42
mveRichard MacCutchan3-Jun-16 22:42 
GeneralRe: how to retrieve or get next item from json file when press click button listner Pin
ahmed_sa4-Jun-16 1:02
ahmed_sa4-Jun-16 1:02 
GeneralRe: how to retrieve or get next item from json file when press click button listner Pin
Richard MacCutchan4-Jun-16 1:06
mveRichard MacCutchan4-Jun-16 1:06 
GeneralRe: how to retrieve or get next item from json file when press click button listner Pin
David Crow4-Jun-16 3:16
David Crow4-Jun-16 3:16 
QuestionRe: how to retrieve or get next item from json file when press click button listner Pin
David Crow4-Jun-16 3:16
David Crow4-Jun-16 3:16 
AnswerRe: how to retrieve or get next item from json file when press click button listner Pin
ahmed_sa4-Jun-16 11:24
ahmed_sa4-Jun-16 11:24 
QuestionHow to resize layouts by swiping up and down Pin
jasonalien1-Jun-16 6:45
jasonalien1-Jun-16 6:45 
Hello all,
I have two layouts, one is below the other one. When user swipes down, I want upper layout to be bigger, and lower layout to be smaller and vice versa for when user swipes up. How can I achieve that?
Here is my layout :
XML
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context="com.example.mydomain.myapplication1212.MainActivity">

 <LinearLayout
     android:id="@+id/above_element"
     android:layout_width="match_parent"
     android:layout_height="250dp"
     >
     <ImageView
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:src="@drawable/summ"/>
 </LinearLayout>


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="250dp"
        android:layout_below="@+id/above_element"
        >
        <ImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:src="@drawable/flowers"/>
    </LinearLayout>


</RelativeLayout>

AnswerRe: How to resize layouts by swiping up and down Pin
Richard MacCutchan1-Jun-16 7:11
mveRichard MacCutchan1-Jun-16 7:11 
GeneralRe: How to resize layouts by swiping up and down Pin
jasonalien1-Jun-16 7:25
jasonalien1-Jun-16 7:25 
GeneralRe: How to resize layouts by swiping up and down Pin
Richard MacCutchan1-Jun-16 21:03
mveRichard MacCutchan1-Jun-16 21:03 
GeneralRe: How to resize layouts by swiping up and down Pin
jasonalien1-Jun-16 22:19
jasonalien1-Jun-16 22:19 
QuestionRe: How to resize layouts by swiping up and down Pin
David Crow2-Jun-16 4:28
David Crow2-Jun-16 4:28 
QuestionOnkeyDown Event in Xamarin Forms Pin
Srinivas Soodula31-May-16 2:06
Srinivas Soodula31-May-16 2:06 
QuestionGet error when passing data using Intent Pin
tan87325-May-16 21:15
tan87325-May-16 21:15 
SuggestionRe: Get error when passing data using Intent Pin
Richard Deeming26-May-16 2:08
mveRichard Deeming26-May-16 2:08 
QuestionRe: Get error when passing data using Intent Pin
David Crow26-May-16 4:29
David Crow26-May-16 4:29 
QuestionSharing...not sure what it is called Pin
Mike885522-Apr-16 5:11
Mike885522-Apr-16 5:11 
AnswerRe: Sharing...not sure what it is called Pin
David Crow22-Apr-16 18:20
David Crow22-Apr-16 18:20 
GeneralRe: Sharing...not sure what it is called Pin
Mike885523-Apr-16 19:22
Mike885523-Apr-16 19:22 
GeneralRe: Sharing...not sure what it is called Pin
Mike885523-Apr-16 22:21
Mike885523-Apr-16 22:21 
SuggestionRe: Sharing...not sure what it is called Pin
David Crow24-Apr-16 16:19
David Crow24-Apr-16 16:19 
GeneralRe: Sharing...not sure what it is called Pin
Mike885524-Apr-16 17:51
Mike885524-Apr-16 17:51 
QuestionRegarding android app Pin
Member 1247467320-Apr-16 18:32
Member 1247467320-Apr-16 18:32 
AnswerRe: Regarding android app Pin
Richard MacCutchan20-Apr-16 21:18
mveRichard MacCutchan20-Apr-16 21:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.