Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7059869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:17:02+00:00 2026-05-28T04:17:02+00:00

i am goggling from previous 2 days, how to move text from one position

  • 0

i am goggling from previous 2 days, how to move text from one position to other in a view mean s if we have set text through TextView.setText() to any specified position initially and after that using my finger touch i want to change the position of text in view means as drag and drop or text move on my finger motion and stop or set where i put off my finger from screen ..can any one have any idea about this ,..i will greatly thanks full to all of u…

TextView textView = (TextView)findViewById(R.id.textView);

// this is the view on which you will listen for touch events
View touchView = findViewById(R.id.touchView);
touchView.setOnTouchListener(new View.OnTouchListener() {
    public boolean onTouch(View v, MotionEvent event) {
        if (event.getAction() == MotionEvent.ACTION_DOWN) {
 }}

}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:17:02+00:00Added an answer on May 28, 2026 at 4:17 am

    Use Absolute Layout as parent of textView, to set position of textview, but as its depreciated, you can also use RelativeLayout and set Margins of it dynamically, so you can set your view positioning dynamically anywhere in the layout.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to MySQL from an admin point of view. I have spent
So I have been Googling and I am quite sure my problem emerge from
How could one convert a string to upper case. The examples I have found
I have uploaded new version of my application before few days and it have
I have a question which I see from googling has been discussed at length..
There are some existing questions for previous versions but from searching SO and googling
I have a moderately complex report consisting of a lot of subreports. One particular
I get this error when I post from TinyMCE in an ASP.NET MVC view.
I have a php page pulling data from a sql2000 stored procedure representing the
I have to modify a simple shell I wrote for a previous homework assignment

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.