is there any way to implement java into drupal? I am a programmer, I primarily program in java, but I am now working with drupal. drupal uses html and css for most of its design, from blocks to views. but I have discovered that it is much harder to create things that are dynamically designed. what I am used to is designing things in android programming where you use XML to design the layout, and java to control it. is there any way to do this in drupal (using a module or something of the sort that will allow me to create things like blocks using java or even javascript, or something similar). also, is there a way to develop my own modules using java, or can I only do it in PHP?
Drupal is a PHP web framework. The tools that is uses are those of the web. If you are trying to implement something with XML and Java you are not really using Drupal. There are skills that you have to learn in order to create web pages which are different from those on a phone.

Having said that. I believe that there are some Android front ends for Drupal. That may be a good starting point for you.