How can I change the way I display the fragments in differents display sizes?
I'm currently making an app for Android devices and I would like to know how can I change the way I display the fragments in differents display sizes (ex. Tablet).
At this point I have an activity for all my fragments and this causes me to replace the fragments when I change page but for tablets I would like to display 2 fragments inside that activity.
I've created a layout-large version for my main activity:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".PaginaInicial"
tools:showIn="@layout/app_bar_pagina_inicial">
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<fragment
class="pt.ipp.estg.schoolhelperapp.apontamento.ListaApontFragment"
android:id="@+id/a_fragment"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent" />
<fragment
class="pt.ipp.estg.schoolhelperapp.apontamento.VerApontFragment"
android:id="@+id/b_fragment"
android:layout_weight="2"
android:layout_width="0dp"
android:layout_height="match_parent" />
</LinearLayout>
</android.support.constraint.ConstraintLayout>
The fragment container is inside layout-small version of the main activity.
One of the fragments displays a list of items (@+id/a_fragment) and the other one displays the information of one specific item that I previously selected (@+id/b_fragment).
java
add a comment |
I'm currently making an app for Android devices and I would like to know how can I change the way I display the fragments in differents display sizes (ex. Tablet).
At this point I have an activity for all my fragments and this causes me to replace the fragments when I change page but for tablets I would like to display 2 fragments inside that activity.
I've created a layout-large version for my main activity:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".PaginaInicial"
tools:showIn="@layout/app_bar_pagina_inicial">
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<fragment
class="pt.ipp.estg.schoolhelperapp.apontamento.ListaApontFragment"
android:id="@+id/a_fragment"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent" />
<fragment
class="pt.ipp.estg.schoolhelperapp.apontamento.VerApontFragment"
android:id="@+id/b_fragment"
android:layout_weight="2"
android:layout_width="0dp"
android:layout_height="match_parent" />
</LinearLayout>
</android.support.constraint.ConstraintLayout>
The fragment container is inside layout-small version of the main activity.
One of the fragments displays a list of items (@+id/a_fragment) and the other one displays the information of one specific item that I previously selected (@+id/b_fragment).
java
add a comment |
I'm currently making an app for Android devices and I would like to know how can I change the way I display the fragments in differents display sizes (ex. Tablet).
At this point I have an activity for all my fragments and this causes me to replace the fragments when I change page but for tablets I would like to display 2 fragments inside that activity.
I've created a layout-large version for my main activity:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".PaginaInicial"
tools:showIn="@layout/app_bar_pagina_inicial">
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<fragment
class="pt.ipp.estg.schoolhelperapp.apontamento.ListaApontFragment"
android:id="@+id/a_fragment"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent" />
<fragment
class="pt.ipp.estg.schoolhelperapp.apontamento.VerApontFragment"
android:id="@+id/b_fragment"
android:layout_weight="2"
android:layout_width="0dp"
android:layout_height="match_parent" />
</LinearLayout>
</android.support.constraint.ConstraintLayout>
The fragment container is inside layout-small version of the main activity.
One of the fragments displays a list of items (@+id/a_fragment) and the other one displays the information of one specific item that I previously selected (@+id/b_fragment).
java
I'm currently making an app for Android devices and I would like to know how can I change the way I display the fragments in differents display sizes (ex. Tablet).
At this point I have an activity for all my fragments and this causes me to replace the fragments when I change page but for tablets I would like to display 2 fragments inside that activity.
I've created a layout-large version for my main activity:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".PaginaInicial"
tools:showIn="@layout/app_bar_pagina_inicial">
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<fragment
class="pt.ipp.estg.schoolhelperapp.apontamento.ListaApontFragment"
android:id="@+id/a_fragment"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent" />
<fragment
class="pt.ipp.estg.schoolhelperapp.apontamento.VerApontFragment"
android:id="@+id/b_fragment"
android:layout_weight="2"
android:layout_width="0dp"
android:layout_height="match_parent" />
</LinearLayout>
</android.support.constraint.ConstraintLayout>
The fragment container is inside layout-small version of the main activity.
One of the fragments displays a list of items (@+id/a_fragment) and the other one displays the information of one specific item that I previously selected (@+id/b_fragment).
java
java
edited Dec 27 at 16:09
HessianMad
16311
16311
asked Dec 27 at 14:14
pp fernandes
86110
86110
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You should take a look at this before link it should help you understand for sure more about supporting different screen sizes.
And here is an example that you can try.
i have tried using what is in the documentation but it didnt work for my situation. I'm now getting android.view.InflateException on the layout-large version of my activity.
– pp fernandes
Dec 27 at 15:47
did you try that sample app in the example link?
– Master Fathi
Dec 27 at 15:50
Yes, my app is a little bit complex so I'm trying different approaches, but this simple topic is giving me headaches,
– pp fernandes
Dec 27 at 15:54
i mean don't try it directly on your app just try that simple in the link download the project and run it you could maybe understand what's wrong with your app or what's missing
– Master Fathi
Dec 27 at 15:57
I did it, but i have a bigger problem, all of my fragments are using this type of layout but i just want some of them any ideas on how to do that?Change layout type when changing fragment?
– pp fernandes
Dec 27 at 16:28
add a comment |
For further details refer to this document: https://developer.android.com/training/multiscreen/screensizes
- Create a default alias resource value file in res/values/refs.xml and place the following code inside it. This value will refer to your layout file that has only one fragment.
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_single_fragment</item>
</resources>- Now need to create an alternative resource so that the activity_masterdetail alias will point to layout_with_two_fragment.xml on larger devices.
Create a new file with same name refs.xml but with resource qualifiers for Smallest Screen Width under Available qualifiers. Use smallest dimension of 600dp or more (sw600dp qualifier)
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_two_fragment</item>
</resources>Your goal here is to have logic that works like this:
- For devices that are under a specified size i.e mobile phones, use layout_with_single_fragment.xml.
For devices that are over a specified size, use layout_with_two_fragment.xml.
Now in your man activity which shows a list, use setContentView(R.layout.activity_masterDetail) i.e the name of referenced layout
If this code will run on mobile phones, normal refs.xml file will be referenced by activity_masterDetailbut if this code runs on a tablet, resource qualified refs.xml file will be used.
In your activity logic, where you want to show master and detail layout on the same screen on tables but open another activity on phones, use the following logic inside onClick() of your list items
if (findViewById(R.id.a_fragment) == null)
{
Intent intent = A_Activity.newIntent(this, listItem.getId());
startActivity(intent);
}
else
{
Fragment newDetail = B_Fragment.newInstance(list_item.getId());
getSupportFragmentManager().beginTransaction()
.replace(R.id.b_fragment, newDetail)
.commit();
}
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53946465%2fhow-can-i-change-the-way-i-display-the-fragments-in-differents-display-sizes%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You should take a look at this before link it should help you understand for sure more about supporting different screen sizes.
And here is an example that you can try.
i have tried using what is in the documentation but it didnt work for my situation. I'm now getting android.view.InflateException on the layout-large version of my activity.
– pp fernandes
Dec 27 at 15:47
did you try that sample app in the example link?
– Master Fathi
Dec 27 at 15:50
Yes, my app is a little bit complex so I'm trying different approaches, but this simple topic is giving me headaches,
– pp fernandes
Dec 27 at 15:54
i mean don't try it directly on your app just try that simple in the link download the project and run it you could maybe understand what's wrong with your app or what's missing
– Master Fathi
Dec 27 at 15:57
I did it, but i have a bigger problem, all of my fragments are using this type of layout but i just want some of them any ideas on how to do that?Change layout type when changing fragment?
– pp fernandes
Dec 27 at 16:28
add a comment |
You should take a look at this before link it should help you understand for sure more about supporting different screen sizes.
And here is an example that you can try.
i have tried using what is in the documentation but it didnt work for my situation. I'm now getting android.view.InflateException on the layout-large version of my activity.
– pp fernandes
Dec 27 at 15:47
did you try that sample app in the example link?
– Master Fathi
Dec 27 at 15:50
Yes, my app is a little bit complex so I'm trying different approaches, but this simple topic is giving me headaches,
– pp fernandes
Dec 27 at 15:54
i mean don't try it directly on your app just try that simple in the link download the project and run it you could maybe understand what's wrong with your app or what's missing
– Master Fathi
Dec 27 at 15:57
I did it, but i have a bigger problem, all of my fragments are using this type of layout but i just want some of them any ideas on how to do that?Change layout type when changing fragment?
– pp fernandes
Dec 27 at 16:28
add a comment |
You should take a look at this before link it should help you understand for sure more about supporting different screen sizes.
And here is an example that you can try.
You should take a look at this before link it should help you understand for sure more about supporting different screen sizes.
And here is an example that you can try.
edited Dec 27 at 15:33
Amira Bedhiafi
1,1121428
1,1121428
answered Dec 27 at 14:48
Master Fathi
1,135716
1,135716
i have tried using what is in the documentation but it didnt work for my situation. I'm now getting android.view.InflateException on the layout-large version of my activity.
– pp fernandes
Dec 27 at 15:47
did you try that sample app in the example link?
– Master Fathi
Dec 27 at 15:50
Yes, my app is a little bit complex so I'm trying different approaches, but this simple topic is giving me headaches,
– pp fernandes
Dec 27 at 15:54
i mean don't try it directly on your app just try that simple in the link download the project and run it you could maybe understand what's wrong with your app or what's missing
– Master Fathi
Dec 27 at 15:57
I did it, but i have a bigger problem, all of my fragments are using this type of layout but i just want some of them any ideas on how to do that?Change layout type when changing fragment?
– pp fernandes
Dec 27 at 16:28
add a comment |
i have tried using what is in the documentation but it didnt work for my situation. I'm now getting android.view.InflateException on the layout-large version of my activity.
– pp fernandes
Dec 27 at 15:47
did you try that sample app in the example link?
– Master Fathi
Dec 27 at 15:50
Yes, my app is a little bit complex so I'm trying different approaches, but this simple topic is giving me headaches,
– pp fernandes
Dec 27 at 15:54
i mean don't try it directly on your app just try that simple in the link download the project and run it you could maybe understand what's wrong with your app or what's missing
– Master Fathi
Dec 27 at 15:57
I did it, but i have a bigger problem, all of my fragments are using this type of layout but i just want some of them any ideas on how to do that?Change layout type when changing fragment?
– pp fernandes
Dec 27 at 16:28
i have tried using what is in the documentation but it didnt work for my situation. I'm now getting android.view.InflateException on the layout-large version of my activity.
– pp fernandes
Dec 27 at 15:47
i have tried using what is in the documentation but it didnt work for my situation. I'm now getting android.view.InflateException on the layout-large version of my activity.
– pp fernandes
Dec 27 at 15:47
did you try that sample app in the example link?
– Master Fathi
Dec 27 at 15:50
did you try that sample app in the example link?
– Master Fathi
Dec 27 at 15:50
Yes, my app is a little bit complex so I'm trying different approaches, but this simple topic is giving me headaches,
– pp fernandes
Dec 27 at 15:54
Yes, my app is a little bit complex so I'm trying different approaches, but this simple topic is giving me headaches,
– pp fernandes
Dec 27 at 15:54
i mean don't try it directly on your app just try that simple in the link download the project and run it you could maybe understand what's wrong with your app or what's missing
– Master Fathi
Dec 27 at 15:57
i mean don't try it directly on your app just try that simple in the link download the project and run it you could maybe understand what's wrong with your app or what's missing
– Master Fathi
Dec 27 at 15:57
I did it, but i have a bigger problem, all of my fragments are using this type of layout but i just want some of them any ideas on how to do that?Change layout type when changing fragment?
– pp fernandes
Dec 27 at 16:28
I did it, but i have a bigger problem, all of my fragments are using this type of layout but i just want some of them any ideas on how to do that?Change layout type when changing fragment?
– pp fernandes
Dec 27 at 16:28
add a comment |
For further details refer to this document: https://developer.android.com/training/multiscreen/screensizes
- Create a default alias resource value file in res/values/refs.xml and place the following code inside it. This value will refer to your layout file that has only one fragment.
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_single_fragment</item>
</resources>- Now need to create an alternative resource so that the activity_masterdetail alias will point to layout_with_two_fragment.xml on larger devices.
Create a new file with same name refs.xml but with resource qualifiers for Smallest Screen Width under Available qualifiers. Use smallest dimension of 600dp or more (sw600dp qualifier)
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_two_fragment</item>
</resources>Your goal here is to have logic that works like this:
- For devices that are under a specified size i.e mobile phones, use layout_with_single_fragment.xml.
For devices that are over a specified size, use layout_with_two_fragment.xml.
Now in your man activity which shows a list, use setContentView(R.layout.activity_masterDetail) i.e the name of referenced layout
If this code will run on mobile phones, normal refs.xml file will be referenced by activity_masterDetailbut if this code runs on a tablet, resource qualified refs.xml file will be used.
In your activity logic, where you want to show master and detail layout on the same screen on tables but open another activity on phones, use the following logic inside onClick() of your list items
if (findViewById(R.id.a_fragment) == null)
{
Intent intent = A_Activity.newIntent(this, listItem.getId());
startActivity(intent);
}
else
{
Fragment newDetail = B_Fragment.newInstance(list_item.getId());
getSupportFragmentManager().beginTransaction()
.replace(R.id.b_fragment, newDetail)
.commit();
}
add a comment |
For further details refer to this document: https://developer.android.com/training/multiscreen/screensizes
- Create a default alias resource value file in res/values/refs.xml and place the following code inside it. This value will refer to your layout file that has only one fragment.
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_single_fragment</item>
</resources>- Now need to create an alternative resource so that the activity_masterdetail alias will point to layout_with_two_fragment.xml on larger devices.
Create a new file with same name refs.xml but with resource qualifiers for Smallest Screen Width under Available qualifiers. Use smallest dimension of 600dp or more (sw600dp qualifier)
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_two_fragment</item>
</resources>Your goal here is to have logic that works like this:
- For devices that are under a specified size i.e mobile phones, use layout_with_single_fragment.xml.
For devices that are over a specified size, use layout_with_two_fragment.xml.
Now in your man activity which shows a list, use setContentView(R.layout.activity_masterDetail) i.e the name of referenced layout
If this code will run on mobile phones, normal refs.xml file will be referenced by activity_masterDetailbut if this code runs on a tablet, resource qualified refs.xml file will be used.
In your activity logic, where you want to show master and detail layout on the same screen on tables but open another activity on phones, use the following logic inside onClick() of your list items
if (findViewById(R.id.a_fragment) == null)
{
Intent intent = A_Activity.newIntent(this, listItem.getId());
startActivity(intent);
}
else
{
Fragment newDetail = B_Fragment.newInstance(list_item.getId());
getSupportFragmentManager().beginTransaction()
.replace(R.id.b_fragment, newDetail)
.commit();
}
add a comment |
For further details refer to this document: https://developer.android.com/training/multiscreen/screensizes
- Create a default alias resource value file in res/values/refs.xml and place the following code inside it. This value will refer to your layout file that has only one fragment.
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_single_fragment</item>
</resources>- Now need to create an alternative resource so that the activity_masterdetail alias will point to layout_with_two_fragment.xml on larger devices.
Create a new file with same name refs.xml but with resource qualifiers for Smallest Screen Width under Available qualifiers. Use smallest dimension of 600dp or more (sw600dp qualifier)
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_two_fragment</item>
</resources>Your goal here is to have logic that works like this:
- For devices that are under a specified size i.e mobile phones, use layout_with_single_fragment.xml.
For devices that are over a specified size, use layout_with_two_fragment.xml.
Now in your man activity which shows a list, use setContentView(R.layout.activity_masterDetail) i.e the name of referenced layout
If this code will run on mobile phones, normal refs.xml file will be referenced by activity_masterDetailbut if this code runs on a tablet, resource qualified refs.xml file will be used.
In your activity logic, where you want to show master and detail layout on the same screen on tables but open another activity on phones, use the following logic inside onClick() of your list items
if (findViewById(R.id.a_fragment) == null)
{
Intent intent = A_Activity.newIntent(this, listItem.getId());
startActivity(intent);
}
else
{
Fragment newDetail = B_Fragment.newInstance(list_item.getId());
getSupportFragmentManager().beginTransaction()
.replace(R.id.b_fragment, newDetail)
.commit();
}
For further details refer to this document: https://developer.android.com/training/multiscreen/screensizes
- Create a default alias resource value file in res/values/refs.xml and place the following code inside it. This value will refer to your layout file that has only one fragment.
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_single_fragment</item>
</resources>- Now need to create an alternative resource so that the activity_masterdetail alias will point to layout_with_two_fragment.xml on larger devices.
Create a new file with same name refs.xml but with resource qualifiers for Smallest Screen Width under Available qualifiers. Use smallest dimension of 600dp or more (sw600dp qualifier)
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_two_fragment</item>
</resources>Your goal here is to have logic that works like this:
- For devices that are under a specified size i.e mobile phones, use layout_with_single_fragment.xml.
For devices that are over a specified size, use layout_with_two_fragment.xml.
Now in your man activity which shows a list, use setContentView(R.layout.activity_masterDetail) i.e the name of referenced layout
If this code will run on mobile phones, normal refs.xml file will be referenced by activity_masterDetailbut if this code runs on a tablet, resource qualified refs.xml file will be used.
In your activity logic, where you want to show master and detail layout on the same screen on tables but open another activity on phones, use the following logic inside onClick() of your list items
if (findViewById(R.id.a_fragment) == null)
{
Intent intent = A_Activity.newIntent(this, listItem.getId());
startActivity(intent);
}
else
{
Fragment newDetail = B_Fragment.newInstance(list_item.getId());
getSupportFragmentManager().beginTransaction()
.replace(R.id.b_fragment, newDetail)
.commit();
}
<resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_single_fragment</item>
</resources><resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_single_fragment</item>
</resources><resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_two_fragment</item>
</resources><resources>
<item name="activity_masterdetail" type="layout">@layout/layout_with_two_fragment</item>
</resources>answered Dec 27 at 20:28
Pankaj Sati
663
663
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53946465%2fhow-can-i-change-the-way-i-display-the-fragments-in-differents-display-sizes%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown