custom list view with edit text in fragment
I have a Fragment
tabs and when a user clicks the add Button
I need a new line of EditText
to be generated with the user added data inside it and a save button to save the data this picture.
Tabs Fragment class
public class ItemsCatTabActivity extends Fragment {
public static TabLayout tabLayout;
public static ViewPager viewPager;
public static int int_items = 8;
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//this inflates out tab layout file.
View x = inflater.inflate(R.layout.items_pager_activity,null);
// set up stuff.
tabLayout = (TabLayout) x.findViewById(R.id.tabs);
viewPager = (ViewPager) x.findViewById(R.id.viewpager);
// create a new adapter for our pageViewer. This adapters returns child fragments as per the positon of the page Viewer.
viewPager.setAdapter(new MyAdapter(getChildFragmentManager()));
// this is a workaround
tabLayout.post(new Runnable() {
@Override
public void run() {
//provide the viewPager to TabLayout.
tabLayout.setupWithViewPager(viewPager);
}
});
//to preload the adjacent tabs. This makes transition smooth.
viewPager.setOffscreenPageLimit(5);
return x;
}
class MyAdapter extends FragmentPagerAdapter {
public MyAdapter(FragmentManager fm) {
super(fm);
}
//return the fragment with respect to page position.
@Override
public Fragment getItem(int position)
{
switch (position){
case 0 : return new AddNewItemFragment();
case 1 : return new AddNewItemFragment();
case 2 : return new AddNewItemFragment();
case 3 : return new AddNewItemFragment();
case 4 : return new AddNewItemFragment();
case 5 : return new AddNewItemFragment();
case 6 : return new AddNewItemFragment();
case 7 : return new AddNewItemFragment();
case 8 : return new AddNewItemFragment();
}
return null;
}
@Override
public int getCount() {
return int_items;
}
//This method returns the title of the tab according to the position.
@Override
public CharSequence getPageTitle(int position) {
switch (position){
case 0 :
return "CIGARETTE";
case 1 :
return "Sweet";
case 2:
return "coin";
case 3:
return "hot drinks";
case 4:
return "cold drinks";
case 5:
return "cold drinks";
case 6:
return "cold drinks";
case 7:
return "cold drinks";
case 8:
return "cold drinks";
}
return null;
}
}
}
where i need to add my code
AddNewItemFragment class
public class AddNewItemFragment extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
return inflater.inflate(R.layout.new_items_swipe_activity_design,null);
}
}
android listview android-fragments tabs google-cloud-firestore
add a comment |
I have a Fragment
tabs and when a user clicks the add Button
I need a new line of EditText
to be generated with the user added data inside it and a save button to save the data this picture.
Tabs Fragment class
public class ItemsCatTabActivity extends Fragment {
public static TabLayout tabLayout;
public static ViewPager viewPager;
public static int int_items = 8;
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//this inflates out tab layout file.
View x = inflater.inflate(R.layout.items_pager_activity,null);
// set up stuff.
tabLayout = (TabLayout) x.findViewById(R.id.tabs);
viewPager = (ViewPager) x.findViewById(R.id.viewpager);
// create a new adapter for our pageViewer. This adapters returns child fragments as per the positon of the page Viewer.
viewPager.setAdapter(new MyAdapter(getChildFragmentManager()));
// this is a workaround
tabLayout.post(new Runnable() {
@Override
public void run() {
//provide the viewPager to TabLayout.
tabLayout.setupWithViewPager(viewPager);
}
});
//to preload the adjacent tabs. This makes transition smooth.
viewPager.setOffscreenPageLimit(5);
return x;
}
class MyAdapter extends FragmentPagerAdapter {
public MyAdapter(FragmentManager fm) {
super(fm);
}
//return the fragment with respect to page position.
@Override
public Fragment getItem(int position)
{
switch (position){
case 0 : return new AddNewItemFragment();
case 1 : return new AddNewItemFragment();
case 2 : return new AddNewItemFragment();
case 3 : return new AddNewItemFragment();
case 4 : return new AddNewItemFragment();
case 5 : return new AddNewItemFragment();
case 6 : return new AddNewItemFragment();
case 7 : return new AddNewItemFragment();
case 8 : return new AddNewItemFragment();
}
return null;
}
@Override
public int getCount() {
return int_items;
}
//This method returns the title of the tab according to the position.
@Override
public CharSequence getPageTitle(int position) {
switch (position){
case 0 :
return "CIGARETTE";
case 1 :
return "Sweet";
case 2:
return "coin";
case 3:
return "hot drinks";
case 4:
return "cold drinks";
case 5:
return "cold drinks";
case 6:
return "cold drinks";
case 7:
return "cold drinks";
case 8:
return "cold drinks";
}
return null;
}
}
}
where i need to add my code
AddNewItemFragment class
public class AddNewItemFragment extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
return inflater.inflate(R.layout.new_items_swipe_activity_design,null);
}
}
android listview android-fragments tabs google-cloud-firestore
why the downvote can you explain what is not clear with my question
– Ahmad Baddah
Nov 26 '18 at 3:41
You should add a floating action button
– AndroDevil
Nov 26 '18 at 6:07
What is wrong with this code?
– Alex Mamo
Nov 26 '18 at 7:31
add a comment |
I have a Fragment
tabs and when a user clicks the add Button
I need a new line of EditText
to be generated with the user added data inside it and a save button to save the data this picture.
Tabs Fragment class
public class ItemsCatTabActivity extends Fragment {
public static TabLayout tabLayout;
public static ViewPager viewPager;
public static int int_items = 8;
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//this inflates out tab layout file.
View x = inflater.inflate(R.layout.items_pager_activity,null);
// set up stuff.
tabLayout = (TabLayout) x.findViewById(R.id.tabs);
viewPager = (ViewPager) x.findViewById(R.id.viewpager);
// create a new adapter for our pageViewer. This adapters returns child fragments as per the positon of the page Viewer.
viewPager.setAdapter(new MyAdapter(getChildFragmentManager()));
// this is a workaround
tabLayout.post(new Runnable() {
@Override
public void run() {
//provide the viewPager to TabLayout.
tabLayout.setupWithViewPager(viewPager);
}
});
//to preload the adjacent tabs. This makes transition smooth.
viewPager.setOffscreenPageLimit(5);
return x;
}
class MyAdapter extends FragmentPagerAdapter {
public MyAdapter(FragmentManager fm) {
super(fm);
}
//return the fragment with respect to page position.
@Override
public Fragment getItem(int position)
{
switch (position){
case 0 : return new AddNewItemFragment();
case 1 : return new AddNewItemFragment();
case 2 : return new AddNewItemFragment();
case 3 : return new AddNewItemFragment();
case 4 : return new AddNewItemFragment();
case 5 : return new AddNewItemFragment();
case 6 : return new AddNewItemFragment();
case 7 : return new AddNewItemFragment();
case 8 : return new AddNewItemFragment();
}
return null;
}
@Override
public int getCount() {
return int_items;
}
//This method returns the title of the tab according to the position.
@Override
public CharSequence getPageTitle(int position) {
switch (position){
case 0 :
return "CIGARETTE";
case 1 :
return "Sweet";
case 2:
return "coin";
case 3:
return "hot drinks";
case 4:
return "cold drinks";
case 5:
return "cold drinks";
case 6:
return "cold drinks";
case 7:
return "cold drinks";
case 8:
return "cold drinks";
}
return null;
}
}
}
where i need to add my code
AddNewItemFragment class
public class AddNewItemFragment extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
return inflater.inflate(R.layout.new_items_swipe_activity_design,null);
}
}
android listview android-fragments tabs google-cloud-firestore
I have a Fragment
tabs and when a user clicks the add Button
I need a new line of EditText
to be generated with the user added data inside it and a save button to save the data this picture.
Tabs Fragment class
public class ItemsCatTabActivity extends Fragment {
public static TabLayout tabLayout;
public static ViewPager viewPager;
public static int int_items = 8;
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//this inflates out tab layout file.
View x = inflater.inflate(R.layout.items_pager_activity,null);
// set up stuff.
tabLayout = (TabLayout) x.findViewById(R.id.tabs);
viewPager = (ViewPager) x.findViewById(R.id.viewpager);
// create a new adapter for our pageViewer. This adapters returns child fragments as per the positon of the page Viewer.
viewPager.setAdapter(new MyAdapter(getChildFragmentManager()));
// this is a workaround
tabLayout.post(new Runnable() {
@Override
public void run() {
//provide the viewPager to TabLayout.
tabLayout.setupWithViewPager(viewPager);
}
});
//to preload the adjacent tabs. This makes transition smooth.
viewPager.setOffscreenPageLimit(5);
return x;
}
class MyAdapter extends FragmentPagerAdapter {
public MyAdapter(FragmentManager fm) {
super(fm);
}
//return the fragment with respect to page position.
@Override
public Fragment getItem(int position)
{
switch (position){
case 0 : return new AddNewItemFragment();
case 1 : return new AddNewItemFragment();
case 2 : return new AddNewItemFragment();
case 3 : return new AddNewItemFragment();
case 4 : return new AddNewItemFragment();
case 5 : return new AddNewItemFragment();
case 6 : return new AddNewItemFragment();
case 7 : return new AddNewItemFragment();
case 8 : return new AddNewItemFragment();
}
return null;
}
@Override
public int getCount() {
return int_items;
}
//This method returns the title of the tab according to the position.
@Override
public CharSequence getPageTitle(int position) {
switch (position){
case 0 :
return "CIGARETTE";
case 1 :
return "Sweet";
case 2:
return "coin";
case 3:
return "hot drinks";
case 4:
return "cold drinks";
case 5:
return "cold drinks";
case 6:
return "cold drinks";
case 7:
return "cold drinks";
case 8:
return "cold drinks";
}
return null;
}
}
}
where i need to add my code
AddNewItemFragment class
public class AddNewItemFragment extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
return inflater.inflate(R.layout.new_items_swipe_activity_design,null);
}
}
android listview android-fragments tabs google-cloud-firestore
android listview android-fragments tabs google-cloud-firestore
edited Nov 26 '18 at 8:54
Dale Burrell
3,17032451
3,17032451
asked Nov 26 '18 at 3:32
Ahmad BaddahAhmad Baddah
16
16
why the downvote can you explain what is not clear with my question
– Ahmad Baddah
Nov 26 '18 at 3:41
You should add a floating action button
– AndroDevil
Nov 26 '18 at 6:07
What is wrong with this code?
– Alex Mamo
Nov 26 '18 at 7:31
add a comment |
why the downvote can you explain what is not clear with my question
– Ahmad Baddah
Nov 26 '18 at 3:41
You should add a floating action button
– AndroDevil
Nov 26 '18 at 6:07
What is wrong with this code?
– Alex Mamo
Nov 26 '18 at 7:31
why the downvote can you explain what is not clear with my question
– Ahmad Baddah
Nov 26 '18 at 3:41
why the downvote can you explain what is not clear with my question
– Ahmad Baddah
Nov 26 '18 at 3:41
You should add a floating action button
– AndroDevil
Nov 26 '18 at 6:07
You should add a floating action button
– AndroDevil
Nov 26 '18 at 6:07
What is wrong with this code?
– Alex Mamo
Nov 26 '18 at 7:31
What is wrong with this code?
– Alex Mamo
Nov 26 '18 at 7:31
add a comment |
1 Answer
1
active
oldest
votes
Put a FloatingActionButton and edittext inside a frame layout and set its gravity and padding accordingly where you want to show it.
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
<android.support.design.widget.FloatingActionButton
android:id="@+id/floatingButtonAdd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="@color/Green"
android:contentDescription="@null"
android:gravity="bottom|end"
android:padding="3dp"
android:src="@drawable/check" />
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/fab"
android:clickable="true"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Item name"
android:id="@+id/input" />
</android.support.design.widget.TextInputLayout>
</FrameLayout>
And in your code
public class AddNewItemFragment extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
mView = inflater.inflate(R.layout.new_items_swipe_activity_design, false);
fab = (FloatingActionButton) mView.findViewById(R.id.floatingButtonAdd);
fab.bringToFront();
input = (EditText) mView.findViewById(R.id.input);
fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
//do your code
}
});
return inflater.inflate(R.layout.new_items_swipe_activity_design,null);
}
my problem is that i need a custom list view with edit text that have 0 lines and when i click on the fab button that you created a new line in the listview is generated and i can enter data in it
– Ahmad Baddah
Nov 29 '18 at 2:05
this picture is only a design i need my listview created like the design i made that when i click on the fab a new line of edit text is created
– Ahmad Baddah
Nov 29 '18 at 2:10
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%2f53474456%2fcustom-list-view-with-edit-text-in-fragment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Put a FloatingActionButton and edittext inside a frame layout and set its gravity and padding accordingly where you want to show it.
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
<android.support.design.widget.FloatingActionButton
android:id="@+id/floatingButtonAdd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="@color/Green"
android:contentDescription="@null"
android:gravity="bottom|end"
android:padding="3dp"
android:src="@drawable/check" />
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/fab"
android:clickable="true"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Item name"
android:id="@+id/input" />
</android.support.design.widget.TextInputLayout>
</FrameLayout>
And in your code
public class AddNewItemFragment extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
mView = inflater.inflate(R.layout.new_items_swipe_activity_design, false);
fab = (FloatingActionButton) mView.findViewById(R.id.floatingButtonAdd);
fab.bringToFront();
input = (EditText) mView.findViewById(R.id.input);
fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
//do your code
}
});
return inflater.inflate(R.layout.new_items_swipe_activity_design,null);
}
my problem is that i need a custom list view with edit text that have 0 lines and when i click on the fab button that you created a new line in the listview is generated and i can enter data in it
– Ahmad Baddah
Nov 29 '18 at 2:05
this picture is only a design i need my listview created like the design i made that when i click on the fab a new line of edit text is created
– Ahmad Baddah
Nov 29 '18 at 2:10
add a comment |
Put a FloatingActionButton and edittext inside a frame layout and set its gravity and padding accordingly where you want to show it.
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
<android.support.design.widget.FloatingActionButton
android:id="@+id/floatingButtonAdd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="@color/Green"
android:contentDescription="@null"
android:gravity="bottom|end"
android:padding="3dp"
android:src="@drawable/check" />
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/fab"
android:clickable="true"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Item name"
android:id="@+id/input" />
</android.support.design.widget.TextInputLayout>
</FrameLayout>
And in your code
public class AddNewItemFragment extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
mView = inflater.inflate(R.layout.new_items_swipe_activity_design, false);
fab = (FloatingActionButton) mView.findViewById(R.id.floatingButtonAdd);
fab.bringToFront();
input = (EditText) mView.findViewById(R.id.input);
fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
//do your code
}
});
return inflater.inflate(R.layout.new_items_swipe_activity_design,null);
}
my problem is that i need a custom list view with edit text that have 0 lines and when i click on the fab button that you created a new line in the listview is generated and i can enter data in it
– Ahmad Baddah
Nov 29 '18 at 2:05
this picture is only a design i need my listview created like the design i made that when i click on the fab a new line of edit text is created
– Ahmad Baddah
Nov 29 '18 at 2:10
add a comment |
Put a FloatingActionButton and edittext inside a frame layout and set its gravity and padding accordingly where you want to show it.
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
<android.support.design.widget.FloatingActionButton
android:id="@+id/floatingButtonAdd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="@color/Green"
android:contentDescription="@null"
android:gravity="bottom|end"
android:padding="3dp"
android:src="@drawable/check" />
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/fab"
android:clickable="true"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Item name"
android:id="@+id/input" />
</android.support.design.widget.TextInputLayout>
</FrameLayout>
And in your code
public class AddNewItemFragment extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
mView = inflater.inflate(R.layout.new_items_swipe_activity_design, false);
fab = (FloatingActionButton) mView.findViewById(R.id.floatingButtonAdd);
fab.bringToFront();
input = (EditText) mView.findViewById(R.id.input);
fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
//do your code
}
});
return inflater.inflate(R.layout.new_items_swipe_activity_design,null);
}
Put a FloatingActionButton and edittext inside a frame layout and set its gravity and padding accordingly where you want to show it.
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
<android.support.design.widget.FloatingActionButton
android:id="@+id/floatingButtonAdd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="@color/Green"
android:contentDescription="@null"
android:gravity="bottom|end"
android:padding="3dp"
android:src="@drawable/check" />
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/fab"
android:clickable="true"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Item name"
android:id="@+id/input" />
</android.support.design.widget.TextInputLayout>
</FrameLayout>
And in your code
public class AddNewItemFragment extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
mView = inflater.inflate(R.layout.new_items_swipe_activity_design, false);
fab = (FloatingActionButton) mView.findViewById(R.id.floatingButtonAdd);
fab.bringToFront();
input = (EditText) mView.findViewById(R.id.input);
fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
//do your code
}
});
return inflater.inflate(R.layout.new_items_swipe_activity_design,null);
}
answered Nov 26 '18 at 6:21
AndroDevilAndroDevil
162112
162112
my problem is that i need a custom list view with edit text that have 0 lines and when i click on the fab button that you created a new line in the listview is generated and i can enter data in it
– Ahmad Baddah
Nov 29 '18 at 2:05
this picture is only a design i need my listview created like the design i made that when i click on the fab a new line of edit text is created
– Ahmad Baddah
Nov 29 '18 at 2:10
add a comment |
my problem is that i need a custom list view with edit text that have 0 lines and when i click on the fab button that you created a new line in the listview is generated and i can enter data in it
– Ahmad Baddah
Nov 29 '18 at 2:05
this picture is only a design i need my listview created like the design i made that when i click on the fab a new line of edit text is created
– Ahmad Baddah
Nov 29 '18 at 2:10
my problem is that i need a custom list view with edit text that have 0 lines and when i click on the fab button that you created a new line in the listview is generated and i can enter data in it
– Ahmad Baddah
Nov 29 '18 at 2:05
my problem is that i need a custom list view with edit text that have 0 lines and when i click on the fab button that you created a new line in the listview is generated and i can enter data in it
– Ahmad Baddah
Nov 29 '18 at 2:05
this picture is only a design i need my listview created like the design i made that when i click on the fab a new line of edit text is created
– Ahmad Baddah
Nov 29 '18 at 2:10
this picture is only a design i need my listview created like the design i made that when i click on the fab a new line of edit text is created
– Ahmad Baddah
Nov 29 '18 at 2:10
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.
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%2f53474456%2fcustom-list-view-with-edit-text-in-fragment%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
why the downvote can you explain what is not clear with my question
– Ahmad Baddah
Nov 26 '18 at 3:41
You should add a floating action button
– AndroDevil
Nov 26 '18 at 6:07
What is wrong with this code?
– Alex Mamo
Nov 26 '18 at 7:31